pcbjam/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi 67f5a88a34 Fix wxGrid test crash and add debug build support
The wxGrid test was crashing with "memory access out of bounds" due to
an initialization order bug in grid_test.cpp: during CreateGrid(), wxGrid
fires cell selection events which triggered the OnGridCellSelect handler
that called m_log->AppendText() before m_log was initialized.

Fix: Add null check in LogEvent() to guard against events firing before
m_log is created.

Also adds --debug flag to build-wasm-test.sh for debugging WASM crashes:
- Builds with DWARF symbols (-g) and source maps (-gsource-map)
- No optimization (-O0) preserves debugging context
- Stack traces show actual function names instead of wasm-function[N]

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 22:15:56 +01:00
..
build-core-wasm.sh Update core library to use real wxBase instead of wx_shim 2025-11-27 08:39:22 +01:00
build-wasm-test.sh Fix wxGrid test crash and add debug build support 2025-11-29 22:15:56 +01:00
build-wxbase-wasm.sh Add board_model library and Phase 3 wxUniversal plan 2025-11-27 09:24:31 +01:00
build-wxuniversal-wasm.sh Fix wxrc build error by skipping native utilities 2025-11-29 20:11:54 +01:00
build-wxwidgets-wasm-clean.sh Add reproducible build system for wxWidgets WASM port 2025-11-27 15:30:10 +01:00
build.sh Complete Phase 1: Build KiCad with optional dependencies disabled 2025-11-26 16:33:48 +01:00
compare-screenshots.sh Add baseline screenshots and visual regression testing 2025-11-29 19:55:12 +01:00
generate-wxwidgets-patches.sh Add reproducible build system for wxWidgets WASM port 2025-11-27 15:30:10 +01:00
prepare.sh Complete Phase 1: Build KiCad with optional dependencies disabled 2025-11-26 16:33:48 +01:00
update-baseline-screenshots.sh Fix timer tests and add baseline screenshot update script 2025-11-29 21:20:40 +01:00
update-kicad.sh Complete Phase 1: Build KiCad with optional dependencies disabled 2025-11-26 16:33:48 +01:00