Commit graph

545 commits

Author SHA1 Message Date
Sour
03fad75c5f Fixed .NET 6 compilation error 2024-11-24 18:10:16 +09:00
Sour
af01175569 Debugger: PCE - Split PCEAS symbol importer from wla-dx's importer code
Added support for length value for data labels, added support for [definitions] section for constants
2024-11-24 17:36:48 +09:00
Sour
c13f52dcb8 Debugger: PCE - Updated symbol file support for PCEAS
+ Improve logic to find/load source files
2024-11-23 17:31:48 +09:00
Sour
a91f8ecf73 Debugger: Source View - Added tab size option 2024-11-14 19:38:52 +09:00
Sour
54b8973c61 Debugger: WS - Fixed code highlighting issue caused by previous commit 2024-11-13 21:25:30 +09:00
Sour
aa32d7e4a0 Debugger: PCE - Generate CDL data based on PCEAS symbol file
+ use IgnoreColumns comment
+ make code highlighting accept label definitions with dots in them, etc.
2024-11-13 20:40:59 +09:00
Sour
da6ff36c2a Debugger: Memory viewer - Fixed issues with search window caused by recent memory leak-related fixes 2024-11-12 18:43:51 +09:00
Sour
2973c43046 Debugger: Source View - Fixed issues when loading another source view-enabled project
Breakpoints weren't being set properly because events were registered twice, etc.
2024-11-10 20:30:22 +09:00
Sour
f60f39ebe6 Debugger: PCE - Tweaks for integration with HuCC 2024-11-10 20:29:27 +09:00
Sour
28b75c2510 UI: Fixed crashes that could occur when using undo after typing in a text box 2024-11-08 15:45:32 +09:00
Sour
25825df619 Debugger: Fixed source view not updating correctly in some scenarios when debugger hits a breakpoint
Specifically, this happened if the breakpoint was already visible on screen and was associated to an address that wasn't mapped when the source view was last updated
2024-11-07 19:04:49 +09:00
Sour
9af55f9fc0 Debugger: Fixed some potential memory leaks in debug tools UI 2024-11-07 18:34:41 +09:00
Sour
7fdb6a0e85 GBA: Improved cartridge prefetch timing accuracy
Passes most of alyosha's prefetch tests
2024-11-06 19:12:33 +09:00
Sour
0fc4610b82 Debugger: Fixed UI allowing defining forbid breakpoints on memory types that the CPU can't execute 2024-10-30 22:02:52 +09:00
Sour
b771ce4a41 Debugger: Memory Viewer - Improve behavior when pasting multi-line text in search box 2024-10-17 19:29:13 +09:00
Sour
a7cb9858f6 Debugger: Register Viewer - Fixed incorrect values for some WS/SMS entries 2024-10-17 18:23:56 +09:00
Sour
046597a36f Debugger: SNES - Fixed incorrect SA-1 NMI/IRQ vector values in register viewer 2024-10-16 16:47:32 +09:00
Sour
b9d0c0be89 Debugger: NES - Fixed typo in register viewer 2024-10-15 11:06:19 +09:00
Sour
7bfa399ded Debugger: Script Window - Fixed crash caused by JSON errors in documentation 2024-10-10 17:54:53 +09:00
Sour
5b0173f43c Debugger: Tile viewer - Limit copied data to what is required to display the current view
This fixes performance issues on GBA, for example, when trying to display the "CPU Memory" memory type
2024-10-10 17:51:39 +09:00
Sour
d751502a58 NES: Added Rainbow support (mapper 682) 2024-10-08 21:37:44 +09:00
Sour
c5b260e066 Debugger: Fixed keyboard focus being given to watch list after reloading a rom
This could cause controller keys to get stuck in their pressed state, among other things
2024-10-04 23:08:02 +09:00
Sour
cc46f4386a Debugger: Auto-select all text in main textbox in various popup tools to make editing easier 2024-10-01 22:42:11 +09:00
Sour
f364dfd343 Debugger: NES - Fixed header editor keeping debugger active permanently after being opened 2024-10-01 21:50:52 +09:00
Sour
2d63259fbe Debugger: GBA - Import missing ELF symbol objects, improve demangling logic 2024-09-24 17:49:08 +09:00
Sour
caf083519b Debugger: WS - Fixed incorrect label addresses for ELF import 2024-09-24 17:45:19 +09:00
Sour
dee97bf9bc Debugger: Added forbid breakpoints 2024-09-23 21:05:55 +09:00
Sour
864a7dd51b Debugger: WS - Added ELF symbol support 2024-09-22 20:59:17 +09:00
Sour
fa37284889 Debugger: Fixed issues with source view tab
-Tab would disappear completely if reset to default layout was used
-Fixed layout problems when reloading rom with debugger opened after moving source view tab to another dock
2024-09-22 16:31:56 +09:00
Sour
40b4c80ed3 Debugger: Memory viewer - Create multi-byte label when using the edit label option with multiple bytes selected 2024-09-22 13:15:48 +09:00
Sour
ef80f108c1 UI: Allow changing theme without restarting 2024-09-22 12:25:25 +09:00
Sour
a2f38b112d Debugger: Memory Viewer - Keep focus on editor when empty space on window is clicked 2024-09-22 10:22:46 +09:00
Sour
e802d1a402 Debugger: Memory Viewer - Highlight current byte in other view 2024-09-22 10:16:37 +09:00
Sour
aaf3d65c0f Debugger: Added option to focus the game window when debugger resumes execution after a breakpoint/etc. 2024-09-21 15:38:05 +09:00
Sour
c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +09:00
Sour
e79e655d3b Debugger: Event Viewer - Added missing address/value for some event types (marked breakpoints, etc.) 2024-09-12 17:11:56 +09:00
Angelo
e6c372e8b3
Debugger: Accumulate scroll values for code viewer & hex editor (#70) 2024-09-12 16:46:20 +09:00
Sour
008149c141 Debugger: Script window - Prevent crash when attempting to load the previous script when no script was ever loaded before 2024-09-07 09:15:57 +09:00
Sour
e24eecd1d2 Debugger: Fixed rare deadlock, which could happen when opening a new debug tool
This was mostly only possible/likely when using the software renderer
The RefreshSoftwareRenderer notification is sent by the render thread, which could trigger the newly-opened viewer's initialization.  This initialization would attempt to pause the emulation thread, but if the emulation thread triggered a notification at the same time, it would get stuck on the _windowNotifLock lock in DebugWindowManager, which caused a deadlock.
2024-08-30 15:54:33 +09:00
Sour
9f7f081bee Fixed compilation error 2024-08-26 21:21:35 +09:00
Sour
9f69e88b6c Debugger: Added undo for memory viewer/debugger code edits 2024-08-26 20:15:30 +09:00
Sour
5b992e35f8 PCE: Implement better MWR latch timing
Changing anything but CG Mode mid-screen should not be allowed (latched in vblank)
2024-08-19 10:54:57 +09:00
Sour
9f1de7cb42 Debugger: Memory viewer - Fixed crash when editing bytes when the selected byte is off-screen 2024-08-09 17:53:56 +09:00
Sour
1a98b3cbcf Debugger: Added hint icon/tooltip in go to address window 2024-07-29 21:44:01 +09:00
Sour
8d304f2465 Debugger: GBA - Add stack to status view 2024-07-29 21:14:47 +09:00
Sour
4cad920e9e Debugger: Allow using labels, tokens and expressions in "go to address" window 2024-07-29 17:37:13 +09:00
Sour
fa09a4d0e0 Debugger: Watch - Fixed enter key not always closing textbox when pressed while editing 2024-07-28 15:42:19 +09:00
Sour
5484217312 Debugger: Fixed space key not working when typing in the watch window 2024-07-28 15:05:33 +09:00
Sour
fd1f27e192 Debugger: Watch - Allow using [array, length] syntax with tokens, instead of only labels & numerical addresses
e.g allows [r11, 10] to display 10 values starting from the address in r11
2024-07-28 13:02:15 +09:00
Sour
a62e0553a7 Debugger: Fixed stack overflow when opening GBA debugger + fixed CPU mode display (was always shown as "7")
This didn't cause any crash in the previous Avalonia version (but was probably broken in a different way)
2024-07-28 12:45:26 +09:00