Commit graph

63 commits

Author SHA1 Message Date
Devin Acker
853c9bf6b2 allow adding dsp breakpoints from memory editor 2020-02-24 22:45:53 -05:00
Devin Acker
8611cf495f DSP register names for breakpoint editor 2020-02-24 22:41:19 -05:00
Devin Acker
81cfa76189 DSP register r/w breakpoints (#250) 2020-02-24 22:20:12 -05:00
devinacker
95c8b63da6 don't autoupdate debug windows that aren't currently visible 2020-01-04 12:04:18 -05:00
devinacker
1a9bc3e2bc add sgb breakpoints to the memory viewer context menu and argument help 2020-01-04 11:33:27 -05:00
devinacker
50e4fd197f finish adding sgb r/w/x breakpoint handling 2020-01-04 02:01:15 -05:00
devinacker
4c5f1d0c28 start adding sgb disassembly/debugging stuff 2020-01-04 01:25:54 -05:00
devinacker
4cae48a581 more sgb memory viewing 2020-01-03 03:29:55 -05:00
devinacker
acc3304825 begin minimal sgb debug interface 2020-01-03 02:48:51 -05:00
devinacker
0bbb744390 make sure memory editor geometry is actually saved when closing one 2019-11-26 20:50:30 -05:00
devinacker
26d093e088 add DSP register display to memory editor (no breakpoints yet) 2019-11-26 20:19:57 -05:00
devinacker
d873dad86d update memory editor size when reloading ROM in case ROM or VRAM size changes 2019-10-09 20:38:00 -04:00
devinacker
c5a12644f7 Merge branch 'master' into vramexpand 2019-10-08 20:31:03 -04:00
devinacker
b255a87fbc make sure exec breakpoints are only highlighted in the correct debug view 2019-09-07 15:15:38 -04:00
devinacker
cd36499f5c make superfx symbols accessible via breakpoint window 2019-09-07 01:28:56 -04:00
devinacker
8bb6e4d80c add popup completer for symbol names in breakpoint editor 2019-07-05 19:17:49 -04:00
devinacker
935ff10916 show a symbol name for breakpoint addresses if possible 2019-07-04 23:42:48 -04:00
devinacker
789d616974 add configurable comparison operators for breakpoints (see #133) 2019-07-01 22:56:11 -04:00
devinacker
41e260cd6e revamp breakpoint editor, allow adding/deleting an unlimited number of breakpoints 2019-06-30 03:14:40 -04:00
devinacker
dff28352c8 add memory editor context menu (incl. add-breakpoint action suggested in #118) 2019-06-27 23:28:47 -04:00
Benjamin Schulte
6f1751fa8a allow to open more than one memory editor 2019-03-09 23:38:42 -05:00
devinacker
1d93fffa88 add vram expansion support to accuracy build (WIP) 2019-01-06 01:59:22 -05:00
devinacker
608fa46c50 clean up symbol map code + fix some memory issues elsewhere 2018-12-04 23:25:29 -05:00
Benjamin Schulte
20aee2187f allow to set breakpoints from disassembler 2018-11-24 20:44:20 -05:00
Benjamin Schulte
5ca2da30ce allow to break on startup and on BRK 2018-11-24 20:38:16 -05:00
Benjamin Schulte
b34c0256a3 basic redesign of debugger 2018-11-24 19:38:36 -05:00
devinacker
7c1f40dd89 memory editor: allow uppercase input + don't copy one byte too many 2018-10-17 22:45:14 -04:00
devinacker
a885b1808f don't let canceling QDialogs with esc key also cancel a nall::Window (also allow memory viewer to be canceled with esc when the editor has focus) (fixes #187) 2018-07-28 16:48:46 -04:00
devinacker
e99e45fdbf formatting cleanup 2017-08-29 19:40:00 -04:00
devinacker
88217f4c6c fix buggy/unsafe breakpoint string split when loading 2017-05-14 03:16:48 -04:00
devinacker
e4c125b1c8 allow saving/reloading breakpoints between sessions 2017-04-24 23:53:53 -04:00
devinacker
28a0bed5d1 tweaking command line breakpoint syntax
(allows specifying a data value as well as an empty mode string for
disabled breakpoints)
2017-04-23 15:58:47 -04:00
devinacker
68ada568c3 fix funky wrapping bug in memory search
fixes #56
2016-11-20 01:33:56 -05:00
devinacker
758363b890 small cleanup 2016-11-19 00:04:53 -05:00
devinacker
701e7fd218 view actual SMP bus instead of APU RAM 2016-11-15 00:22:19 -05:00
Marcus Rowe
bc6f2c3ead Create breakpoints using the command line arguments
This allows me to use a script to automatically fill the bsnes debugger
with breakpoints. For instance, the following bash line:

    bsnes --show-debugger `grep BREAKPOINT "$symfile" | awk '{print "-b " $1 ":x"}'` "$romfile"

Will open the debugger window and create a CPUBus execute breakpoint
for all symbols containing BREAKPOINT in the symbol file.

See `bsnes --help` or `Application::printArguments` for the format of
the breakpoint string.
2016-10-27 05:47:56 +10:00
Marcus Rowe
658468d60c Indent register property names in Properties Table 2016-10-22 18:36:55 +10:00
devinacker
2f5a3d087e display current address at bottom of memory window 2016-08-09 23:01:15 -04:00
devinacker
25375ff064 allow using WDM opcode as a software breakpoint 2015-11-16 20:31:54 -05:00
devinacker
9a72f192fc allow searching memory for text in quotes 2015-11-07 23:11:17 -05:00
devinacker
90d5d94932 add memory searching and debugger hotkeys 2015-11-07 22:46:59 -05:00
devinacker
e60ce2f6dd limit SuperFX bus viewing to 00-7F 2015-10-26 20:41:38 -04:00
devinacker
632ef42b58 replace original hexeditor with QHexEdit 2015-09-13 21:57:22 -04:00
devinacker
9583a262c8 get rid of cumbersome "enable breakpoint" checkbox 2015-08-11 22:41:08 -04:00
Alex.W.Jackson@gmail.com
3eec88bf82 debugger: add a flag indicating that the debugger is accessing the bus; this is used to suppress unwanted side effects of reads (e.g. cothread switches, latch-on-read registers) and to allow ROM to be modified (in place of MappedRAM::write_protect(), which is going away soon)
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@61 fe182637-1eec-a322-cce2-af8e45122353
2015-05-16 10:52:07 -04:00
devinacker
5e29045c7e remove size check from memory editor 2015-05-01 09:39:09 -04:00
Alex.W.Jackson@gmail.com
fb4b769e7c Nonexistent MappedRAM's size() is now 0 and not a magic number
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@56 fe182637-1eec-a322-cce2-af8e45122353
2015-05-01 09:34:33 -04:00
devinacker
b8bc79551d don't disassemble every single byte 2015-04-11 17:25:39 -04:00
devinacker
c42f1f430b add ranged breakpoints and combinable r/w/x flags 2015-04-09 23:58:54 -04:00
devinacker
42dfb242fe more superfx debug fixes
(including showing the right address in the debugger and using the
address correctly when disassembling)
2015-04-05 20:38:25 -04:00