Commit graph

222 commits

Author SHA1 Message Date
Zachery Delafosse
b4e1054d34 Slow down how often whilePaused is called, to about 10 times per second 2021-11-09 17:43:47 -06:00
Zachery Delafosse
c0def0b4cb Debugger: Script Window: Added whilePaused event 2021-10-26 13:15:08 -05:00
Thomas McGrew
651062a75d Fixed clang compiler warnings 2021-10-19 21:41:17 -04:00
mkwong98
739d1ba041 Add debugger option to break on unlogged code 2021-07-14 23:04:42 +08:00
Sour
069a98c50d Debugger: Event Viewer - Added options to display apu/control register reads/writes 2020-04-24 18:17:03 -04:00
Sour
8af0df2ecf Debugger: Fixed crashes when CPU is running in unmapped memory regions 2020-04-19 19:36:47 -04:00
Sour
1ebd943f3a Debugger: Rewrite profiler and memory counters
Improves performance when debugger enabled (10-15%), simplifies code and improves memory counters UI
2020-02-15 10:18:07 -05:00
Sour
19b93dc343 Debugger: Auto-refresh disassembly when debugger gains focus
This allows edits done in the hex editor to be shown right away in the debugger
+ Also fixed a potential issue with code in save ram not being disassembled properly after the code is updated by additional writes
2020-02-01 10:10:57 -05:00
Sour
58b6dd188f Upgrade to VS2019 and C++17 2019-12-21 12:23:55 -05:00
Sour
8fd774b038 Debugger: Added "break on bus conflict" option 2019-12-12 21:03:32 -05:00
Sour
8508b211cc Debugger: Event Viewer - Added option to show NTSC borders
+ Ported most of Mesen-S' event viewer code to allow this to work
2019-11-19 22:28:45 -05:00
Sour
ea9e31f44e Debugger: Event Viewer - Option to show DMC DMA reads 2019-11-13 22:50:52 -05:00
Sour
1f62e043d6 Debugger: Fixed issues and crashes with "step back" 2019-11-03 11:46:05 -05:00
Sour
886ae6425f Fixed some cases of variables being used before initialization 2019-06-23 20:11:10 -04:00
Sour
d4676e51fd Debugger: Fixed minor potential multithreading issues (and removed unused variable) 2019-04-12 19:58:38 -04:00
Sour
0296dde9e9 Debugger: Fixed crash when mixing breakpoints that have conditions with others that don't within the same breakpoint type 2019-02-18 20:42:29 -05:00
Sour
278ca034b2 Debugger: Small performance optimization 2019-02-09 15:32:35 -05:00
Sour
5b0b084f6a Debugger: Fixed step back causing instruction before a JSR to be marked as a function entry point 2019-02-09 15:24:51 -05:00
Sour
52c4dbc3a0 Debugger: Do not mark the instruction after a branch 2019-02-02 13:23:37 -05:00
Sour
9905f3a5da Debugger: Fixed crash when closing Lua script window (if script isn't running and it is the only debugger window opened) 2019-01-27 14:31:05 -05:00
Sour
9ceb522874 Debugger: Added "Performance Tracker" tool 2019-01-24 00:50:42 -05:00
Sour
ee7f0151ad Debugger: Fixed "step over" when on a JSR/BRK instruction 2019-01-23 23:57:31 -05:00
Sour
e7f95fd14a Debugger: Improved "break in X cpu cycles" logic and added a "Run 1 CPU cycle" shortcut 2019-01-21 15:35:24 -05:00
Sour
2aaac25956 Debugger: Fixed out-of-bounds memory access when trying to process uninitialized reads 2019-01-18 22:15:17 -05:00
Sour
c5801ea2e0 Debugger: Fixed DMC reads not triggering breakpoints (when sub-instruction BPs are disabled) 2019-01-14 19:30:50 -05:00
Sour
4c9e297034 Debugger: Added nametable breakpoint support 2019-01-14 19:01:13 -05:00
Sour
76f64b19ef Debugger: Added access counters for CHR ROM/RAM and nametable memory
+Added read/write highlighting, etc. for memory viewer tabs
+Improved show tile/attribute updates in PPU viewer
2019-01-13 18:32:27 -05:00
Sour
cab24bbd70 Debugger: Fixed issues with break on uninit reads
-Break did not trigger properly when using the new breakpoint logic
-Fixed issue with step back not working when using the new breakpoint logic
2019-01-13 14:53:14 -05:00
Sour
2da8c70482 Debugger: Fixed issues with unary operators in expression evaluation
Also fixes issues with some operator combinations (e.g: && followed by !) and adds basic unit tests to simplify regression testing in the future
2019-01-06 18:41:43 -05:00
Sour
2c9d6aabd7 Debugger: Improved CA/CC65 integration
-Auto-detect all function entry points
-Auto-detect all jump targets
-Fixed a bug where jump targets were being disassembled when loading a CDL file, potentially causing data to be shown as code
-Fixed some valid data block being shown as unidentified data
2019-01-02 23:26:54 -05:00
Sour
c29ceb79ef Debugger: Fixed bug that caused debugger window to automatically appear when active breakpoints were hit 2018-12-28 13:01:57 -05:00
Sour
59195da588 Fixed compilation warning 2018-12-26 13:28:27 -05:00
Sour
d8097a1c94 Debugger: Display read/written value when breaking execution 2018-12-25 00:07:45 -05:00
Sour
8deb63e646 Debugger: Avoid setting debug PC value if debugger is not running (performance) 2018-12-25 00:07:45 -05:00
Sour
40710c3665 Debugger: Allow debugger to peek at APU/PPU registers without altering the state 2018-12-25 00:07:45 -05:00
Sour
60e0bd4e01 Debugger: Fixed issues & improved performance with new breakpoint logic 2018-12-25 00:07:38 -05:00
Sour
937a90626d Debugger: Added option to evaluate all breakpoints on the first cycle of an instruction 2018-12-24 15:21:21 -05:00
Sour
35192daeed Debugger: Add option to trigger breakpoints on dummy read/writes (+ distinguish between writes & dummy writes) 2018-12-23 13:12:46 -05:00
Sour
022085082b Debugger: Added option to show current instruction's progress (cycle count, exec/read/write cycle display) 2018-12-23 11:56:28 -05:00
Sour
4459b18fa3 Debugger: Added option to display why the debugger breaks (breakpoint, break options, etc.) 2018-12-23 00:10:00 -05:00
Sour
080d25349d Debugger: Fixed deadlock when debugger is closed and reopened right away (e.g by a CPU crash)
2 debugger instances ended up being active at the same time
2018-12-19 20:47:47 -05:00
Sour
c54fad0325 Debugger: Fixed sub entry point markers disappearing from the code window after using the "mark as ..." functions 2018-12-16 11:38:00 -05:00
Sour
b9703369cf Debugger: Fixed memory leak in Event Viewer 2018-11-20 02:08:59 -05:00
Sour
9e5c22492b Debugger: Fixed multithreading crashes/freezes when marking bytes as data/code 2018-09-26 07:23:32 -04:00
Sour
5f01ec59f4 HD Pack Builder: Fixed issues with pause icon/break functionality when recording hd packs with debugger opened 2018-09-14 22:09:51 -04:00
Sour
7ec7512fde Debugger: Added "Auto-create jump labels" option 2018-09-08 13:16:17 -04:00
Sour
f69b891d53 Debugger: Fixed PPU-related issues when using the debugger & the HD pack recorder at the same time 2018-09-07 21:12:30 -04:00
Sour
47249556d2 Core: Changed timing logic to resolve issues with some setups (where the core was running at less than 60fps even if the computer was able to run at up to 200fps) 2018-08-26 18:53:15 -04:00
Sour
1a7f07cff5 Debugger: Fixed issues with using labels in breakpoint conditions 2018-08-02 20:44:48 -04:00
Sour
a978e1e08f Debugger: Lua - Fixed debug hud drawings remaining on screen after reset/power cycle/load state 2018-07-30 21:05:13 -04:00