Commit Graph

120 Commits

Author SHA1 Message Date
adelikat 47f2371953 Misc cleanups 2017-05-24 09:06:31 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
adelikat cc5ff74689 Fix debugger throwing exceptions on opened on a core that does not implement IDisassemblable 2017-04-23 11:42:26 -05:00
adelikat 9ae3916166 Debugger - remove a usage of Global.Emulator and a TODO 2016-12-04 12:40:26 -06:00
zeromus a7d2b8d7f7 * add a new IToolForm update mechanism which has extensible update points (so a tool can both pre- and post- update)
* make trace logging "core-pushes" model, to a sink installed by the frontend. This sink can go straight to the disk without wasting memory if that's what the Trace Logger tool has selected; or the Trace Logger will buffer it if it needs to.  Formerly, we had a "core-pushes-to-buffer" and "client-pulls-once-per-frame" which necessarily caused huge buffers no matter what was going on.
2016-08-13 15:31:26 -05:00
feos d5ac190bdc m64p: don't freeze on breakpoint
debugger: indicate break hit
2016-08-13 16:26:10 +03:00
parasyte 71c7edbb24 Add address mask setting for breakpoints 2016-08-08 04:37:39 -07:00
feos bfece077b2 debugger: really honestly only check registers once, in GenerateUI().
throws NotImplemented if can't set registers, InvalidOperation otherwise (since it deliberately tries an invalid operation just to check availability).
2016-02-27 21:30:14 +03:00
feos 1f913ef4d9 debugger: don't update when unpaused. only update PC when we really need it. 2016-02-25 20:38:44 +03:00
feos 8239c39213 debugger: Run button. 2016-02-24 22:17:48 +03:00
feos 997877c05b debugger regs: format reg names on launch, smarter spacing. 2016-02-22 19:32:34 +03:00
feos 4cea5e6f5b debugger: pad Address with 0, revert erroneous "fix" from last commit. 2016-02-22 19:16:05 +03:00
feos f1deb41e2a better check for callbacks availability in GenericDebugger. 2016-02-22 18:05:37 +03:00
adelikat 76626c3fd5 Debugger - throw and catch at most 1 exception per update if core can not set cpu registers 2016-02-22 08:43:15 -05:00
zeromus 8db62b6f2c make two listviews more consistent 2016-02-22 05:52:42 -06:00
feos dfb0cf37d8 debugger: return address in hex when copying.
quicknes: uppercase numbers, since its mnemonics are uppercase too.
2016-02-21 18:45:09 +03:00
adelikat ec45262611 Debugger - fix how Seek To determines the PC register 2016-02-21 07:49:22 -05:00
adelikat fe22cb390b Debugger - update when maximized 2016-02-21 07:46:45 -05:00
feos 0c32b48f29 debugger:
- don't post pc and raw bytes to genesis disasm string
- make some fonts monospace
- pad reg values properly
- give enough space for big reg names
2016-02-21 15:19:56 +03:00
feos 72b650d606 tastudio: properly save/load column settings.
wrap MainForm savestate functions that tastudio can now control into IControlMainform.
2015-12-07 20:05:04 +03:00
zeromus fae4d27bed Revert "Cleanup GameShark.Designer.cs"
This reverts commit 9864d8190c, reversing
changes made to 0630be922b.
2015-11-14 15:11:13 -06:00
scrimpeh 7e23b06dd3 Debugger/Breakpoints - Add edit and duplicate Breakpoint buttons, refine AddBreakpoint dialog 2015-07-18 20:41:06 +02:00
scrimpeh 73686d53dc Debugger/Disassembler - Fix adding one blank row to the disassembler view. 2015-07-16 21:18:13 +02:00
scrimpeh 716cf12f6a Debugger - Tiny insignificant fixes 2015-06-27 13:03:24 +02:00
scrimpeh 0e4a641a81 Debugger - Fix a lot of stuff regarding Breakpoints 2015-06-26 22:12:09 +02:00
scrimpey 17ce177e5f Debugger - Make Register Boxes use Hex input. 2015-06-19 20:32:05 +00:00
adelikat c759eb80d5 mark Debugger tool as released 2015-02-17 00:55:21 +00:00
scepheo 714f4a9687 RAM Watch: Added read/write breakpoint setting to context menu. 2015-02-08 17:39:59 +00:00
jdpurcell b3ecd5dd28 Debugger / Trace Logger: Clean up newline handling in Copy code (newline may not be 2 characters on different platforms). 2015-02-08 15:32:56 +00:00
jdpurcell a1dcd9928e Fix empty DisassemblerView with non-standard DPI settings. 2015-02-08 15:16:28 +00:00
adelikat 20a92686f9 Debugger - the Seek To feature requires Disassembling to be available in the core 2015-02-06 01:01:34 +00:00
adelikat 133723e50f Debugger - clean up some code 2015-02-06 00:56:54 +00:00
adelikat 8427a9db7e Debugger - add context menu item on Disassembler "Add Breakpoint" that will add an execute breakpoint on the selected address 2015-02-06 00:41:50 +00:00
adelikat 5188c43e07 Debugger - Use proper PC register property on load - Fixes issue 380 2015-01-31 23:34:28 +00:00
adelikat 8246de14aa IMemoryCallbackSystem - add a flag to indicate whether execute callbacks are available, in lua and the debugger, take this flag into account, also improve some availability checking in Lua memory callbacks. Flag N64 as not having execute callbacks available 2015-01-25 22:14:58 +00:00
adelikat e1f59363f2 Debugger - on refresh, check for new non-debugger made breakpoints and display them 2015-01-25 19:50:54 +00:00
adelikat d4d966680d Debugger - tweak positioning of register labels when registers are not settable 2015-01-25 16:56:18 +00:00
adelikat e4800cb8f3 debugger - fix ability to set write and execute breakpoints 2015-01-24 19:50:18 +00:00
adelikat d9c7e09445 Debugger - fix sound stutter on add breakpoint dialog pop up 2015-01-24 18:23:04 +00:00
adelikat 7b87f666a1 MemoryDomains - rename CheatDomain to SystemBus 2015-01-24 15:49:02 +00:00
adelikat f89f8fc457 add a PauseChanged event to mainform, have the debugger subscribe to it and refresh instead of refreshing every frame, add a refresh menu item with F5 hotkey just in case 2015-01-24 03:10:21 +00:00
adelikat 027706be70 Debugger - to PC button 2015-01-24 02:50:22 +00:00
adelikat 652640d580 Debugger - disassembler - support ctrl+C to copy selected rows to the clipboard 2015-01-24 00:02:22 +00:00
adelikat 5d2eb17771 debugger - fix scrollbars on register panel 2015-01-23 23:51:37 +00:00
adelikat 19450e50f7 Debugger - Register box - make label spacing dynamic based on the largest register name 2015-01-23 23:17:24 +00:00
zeromus 773826049f fix bug in disassembler 2015-01-23 20:29:07 +00:00
adelikat 69b2e51e7c Debugger - add a cancel seek button 2015-01-21 23:04:47 +00:00
adelikat 4b2d116738 Debugger - implement the Seek To button 2015-01-21 02:12:59 +00:00
adelikat 1fadcdd9f0 Debugger - add a SeekTo button/textbox, doesn't do anything yet, other than intelligently enable/disable based on availability and set the textbox properties based on the properties of the PC register 2015-01-21 00:46:13 +00:00
adelikat f6b757e7fd Add Breakpoint dialog - fix a slight logic error 2015-01-18 19:08:25 +00:00