You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, sorry for not reporting this earlier - in recent months I've found that hardware watchpoints don't function correctly (tested both on Windows and Linux). They previously used to work on 0.7.3, and must have broken some time between then and the release of 0.8.0.
Reading symbols from mgba-watchpoints.elf...done.
Remote debugging using localhost:2345
0x08000190 in ClrLoop ()
(gdb) watch my_num
Hardware watchpoint 1: my_num
(gdb) c
Continuing.
Hardware watchpoint 1: my_num
Old value = 0
New value = 16537
main () at C:/msys64/home/exelotl/gba-tests/mgba-watchpoints/source/main.c:11
11 VBlankIntrWait();
(gdb)
GDB session - mGBA 0.8.0 to 0.8.4
❌ watchpoint never fires
Reading symbols from mgba-watchpoints.elf...done.
Remote debugging using localhost:2345
0x08000190 in ClrLoop ()
(gdb) watch my_num
Hardware watchpoint 1: my_num
(gdb) c
Continuing.
The text was updated successfully, but these errors were encountered:
Hey, sorry for not reporting this earlier - in recent months I've found that hardware watchpoints don't function correctly (tested both on Windows and Linux). They previously used to work on 0.7.3, and must have broken some time between then and the release of 0.8.0.
Here's a minimal example using libtonc:
Example code
(can use this template to compile if you need)
Debug scripts
Windows:
Linux:
GDB session - mGBA 0.7.3
✔️ behaves as expected
GDB session - mGBA 0.8.0 to 0.8.4
❌ watchpoint never fires
The text was updated successfully, but these errors were encountered: