pcbjam/tests/wasm-app/standalone
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
..
aui Add standalone test apps and Playwright specs for wxWidgets WASM 2025-11-29 16:19:13 +01:00
clipboard Add standalone test apps and Playwright specs for wxWidgets WASM 2025-11-29 16:19:13 +01:00
dialog Add standalone test apps and Playwright specs for wxWidgets WASM 2025-11-29 16:19:13 +01:00
filedialog Add standalone test apps and Playwright specs for wxWidgets WASM 2025-11-29 16:19:13 +01:00
grid Fix wxGrid test crash and add debug build support 2025-11-29 22:15:56 +01:00
layout Add standalone test apps and Playwright specs for wxWidgets WASM 2025-11-29 16:19:13 +01:00
menu Add standalone test apps and Playwright specs for wxWidgets WASM 2025-11-29 16:19:13 +01:00
timer Add standalone test apps and Playwright specs for wxWidgets WASM 2025-11-29 16:19:13 +01:00
toolbar Add standalone test apps and Playwright specs for wxWidgets WASM 2025-11-29 16:19:13 +01:00
tree Add standalone test apps and Playwright specs for wxWidgets WASM 2025-11-29 16:19:13 +01:00