Commit Graph

33 Commits

Author SHA1 Message Date
adelikat 04ce66c397 phase 1 of changing memory callback api to specify domain - require cores to specify which domains are available and have the domain passed in when creating callbacks. Still todo - cores need to pass in domain name on CallReads/Writes/Executes methods 2017-08-01 22:05:17 -05: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
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 1f913ef4d9 debugger: don't update when unpaused. only update PC when we really need it. 2016-02-25 20:38:44 +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 133723e50f Debugger - clean up some code 2015-02-06 00:56:54 +00:00
adelikat 5188c43e07 Debugger - Use proper PC register property on load - Fixes issue 380 2015-01-31 23:34:28 +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 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 fbdb29b64c refactor IMemorydomains to be a domain list instead of having a domain property, refactor cores to register an IMemoryDomains instead of being one 2015-01-14 21:55:48 +00:00
adelikat d62ba4e2b4 Change IMemoryDomains to have an IMemoryDomainList instead of a MemoryDomainList, this is an incremental step into eventually having IMemoryDomains take over the properties of IMemoryDomainList, still todo: reduce the amount of needed functionality in IMemoryDomainList from old and not good code 2015-01-13 22:18:07 +00:00
adelikat f79d8332a6 Debugger - fix how IMemoryCallbackSystem is used, breakpoint control no longer permanently disabled even when it is implemented in a core 2014-12-23 18:24:01 +00:00
adelikat 816a6e53df Debugger - update some comments 2014-12-23 17:49:05 +00:00
adelikat 025299ebd1 Debugger - Restart() logic 2014-12-23 17:44:59 +00:00
adelikat 1d0b623d88 Debugger - diassembler - an attempt to implement scrolling up (only works on small increment for now), but busted, arg 2014-12-20 20:33:54 +00:00
adelikat 888fc35eb0 Debugger - wire up step buttons 2014-12-20 13:48:56 +00:00
adelikat af851b8ad6 Show Step buttons/menu items based on whether it is implemented in the current core 2014-12-20 13:36:22 +00:00
adelikat 0916638e40 Debugger - better checking if something exists or not 2014-12-20 13:12:03 +00:00
adelikat 7bebb66589 IDebuggable - refactor GetCpuFlagsAndRegisters to be IDictionary<string, Register> where Register is a value and a bitsize 2014-12-20 03:19:33 +00:00
adelikat f6d5f64ef2 Debugger - move a function 2014-12-18 02:42:53 +00:00
adelikat ffe3be09a4 Remove some now useless logic in the Restart() method of some tools (checking IsHandleCreated and IsDisposed) 2014-12-17 03:48:08 +00:00
goyuken ea47246658 remove the IEmulator inheritance from some services, and fix code as needed 2014-12-15 22:25:06 +00:00
goyuken 7b580e7dca tim the tool form taylor 2014-12-15 03:19:23 +00:00
adelikat 0e528d22c2 Debugger - refactor based on having the PCRegisterName property 2014-12-14 17:44:45 +00:00
adelikat 227fd64e60 Debugger - a rough basic disassembler (if the necessary pieces are provided by the core), still a lot of details to work out 2014-12-14 14:30:46 +00:00
adelikat 29d6859167 Debugger - convert to using OptionalServices for the Disassembler 2014-12-13 23:57:23 +00:00
adelikat b3a47b911b Debugger - use EmulatorServices 2014-12-13 23:15:39 +00:00
adelikat 6933d5ee56 Debugger - rip out tracer and put instead a placeholder groupbox that will house a disassembler 2014-12-13 19:31:10 +00:00
adelikat 93692b0220 Debugger - update register values 2014-12-06 13:42:59 +00:00
adelikat 748fab4dfb Debugger - use the Tracer.Header property 2014-12-06 00:21:25 +00:00
adelikat 00523ca5aa Debugger - implement trace logger 2014-12-06 00:18:51 +00:00
adelikat 4a96e58a24 Start a generic Debugger tool, does nothing now except for open and have the standard ui options all tool forms have (such as autoload) 2014-12-06 00:03:36 +00:00