Commit Graph

51 Commits

Author SHA1 Message Date
feos d1ac02ebb3 tracer: more fixes to bugs found by actual usage 2016-08-31 21:24:09 +03:00
feos ef47d9fbca tracer: reboot on game close
more ^final^ tweaks
2016-08-22 21:57:18 +03:00
feos e379b0342e probably final prettification for tracer 2016-08-21 23:52:42 +03:00
feos 3e7972ee9d tracer:
- expose segment size to user
- fix logging to window and saving to file
2016-08-21 12:07:55 +03:00
feos 0b1d9c3c48 tracer: setup logfile segmentation 2016-08-18 23:02:57 +03:00
feos 76eaea3619 tracer unification for cores: spacing, headers, etc 2016-08-16 01:39:26 +03:00
feos 8e92c5fd17 gpgx: move to normal tracing method too
CallbackBasedTraceBuffer seems deprecated
2016-08-14 22:29:42 +03:00
feos 473b9e5f33 m64p tracer:
- shrink core's disasm string a bit
- nicely print registers (r0 and co-processors regs are dropped though)
- rebuild dll
2016-08-14 17:49:56 +03: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
parasyte 89403c72d8 Fix File->Save Log menu item in Trace Logger window
- Prevents an unhandled exception when saving a log from the window
  (opposed to file)
2016-08-09 21:35:37 -07:00
zeromus c069f8fe5c dont tracelog to file every frame multiple times 2016-04-21 14:22:39 -05:00
feos 3c4771c76a tracer: print header when switching to file while already enabled. 2016-02-28 23:01:22 +03:00
feos 26997dd32a save tracer column widths. 2016-02-27 19:30:47 +03:00
adelikat d70951c20b TraceLogger - add an Open button when logging to file 2016-02-24 22:29:46 -05:00
adelikat 4e2c949990 Trace Logger - remove the clear button in favor of a menu item, add a context menu for the listview that corresponds to the edit menu 2016-02-24 22:08:56 -05:00
adelikat eb7c72541f Trace Logger - log the Tracer header at the beginning of the file when logging to file. Clear and start the file new when toggling the log button instead of forever appending the file 2016-02-24 21:57:26 -05:00
adelikat 52ef67a12f TraceLogger - improve FastUpdate to still log but not update the screen. Cleanup and merge two similar function calls, slight change to form title 2016-02-24 20:56:16 -05:00
feos 7abac10164 genesis disasm/tracer: replace IR reg with raw bytes, drop separate PC reg. 2016-02-22 15:02:59 +03:00
feos c41c24cd85 tracer: use .log extention (allows extension based user syntax highlight)
genesis disasm: prefix immediate values with #.
2016-02-22 14:18:46 +03:00
adelikat f5e679fa0d Refactor ITraceable to work on TraceInfo objects that separate Disassembly and Register information. Make Tracelogger two columns. 2016-02-21 17:34:42 -05:00
feos 5fc60810ae tracer: if you grab a machine gun, you don't want it to start firing the instant you touch it. 2016-02-21 22:45:44 +03:00
scepheo ab0547ddea Fix Trace Logger not restarting properly. 2015-03-11 20:58:49 +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
adelikat 0f2197cec1 Break off ITracer from IDebuggable, rename to ITraceable and make it an IEmulatorService, refactor things accordingly 2014-12-23 01:58:12 +00:00
goyuken 808e17c3f7 tracelogger settings 2014-12-22 19:01:21 +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 1504f8d441 itoolform remove spurious restart calls 2014-12-17 03:35:57 +00:00
goyuken 08d09bc64f a few more itoolform cleanups 2014-12-15 18:13:54 +00:00
goyuken 7b580e7dca tim the tool form taylor 2014-12-15 03:19:23 +00:00
adelikat e6ea5bdf70 Convert TraceLogger to EmulatorServices 2014-12-14 01:45:24 +00:00
scepheo 769cbeb1a0 - IToolForm: Added RequiredServices attribute to define dependencies, and added EmulatorServices for ToolManager to supply them.
- IServiceProvider, BasicServiceProvider: Added compile-time unknown type versions of GetService and HasService.
- ToolManager: Added IsAvailable to test whether all dependencies for a tool are available.
2014-12-13 21:54:59 +00:00
adelikat 04f9081943 in IEmulator extensions add methods such as AsMemoryDomains(), AsStatable() that do the service calling magic. In the client code replace appplicable casts of IMemoryDomains with AsMemoryDomains(), more commits of this nature for the other IEmulatorServices soon to follow 2014-12-05 00:32:29 +00:00
adelikat a91de9ad9c Move TraceHeader out of CoreComm and into ITracer and TraceBuffer 2014-12-05 00:10:48 +00:00
adelikat 309088211c Move TraceBuffer from CoreComm to IDebugable and refactor accordingly 2014-12-05 00:05:40 +00:00
zeromus c39617b638 try fixing crash in trace logger. seemingly a race condition between a create, a flush, and a subsequent open for tracing (for issue #299) 2014-10-23 05:14:03 +00:00
kylelyk 321c8c64bf Added documentation to IControlMainForm, renamed a few variables, moved IControlMainForm related code in MainForm to the same region. 2014-08-19 19:24:17 +00:00
adelikat aeea08a823 Cleanup the InputPrompt class, removing unused methods, and converting some silly methods into properties allowing some pretty array initializers instead of function calls 2014-07-28 02:40:30 +00:00
adelikat 5d4ff76ed6 Convert a copy/pasted method in a bunch of tool dialogs to an extension method 2014-07-28 02:31:51 +00:00
adelikat 0397ea1ff4 Remove the CustomControls/Util file and move all the classes into the Form Extensions file, since they were all extension methods for window form objects 2014-07-27 15:22:30 +00:00
adelikat 570f77cc68 Implement FastUpdate() on IToolForm. The intent here is for tools to do the minimum amount necessary when updating. This allows them to avoid slow things like drawing, but do critical activities such as Ram tools incrementing change counters, and loggers can continue logging. When Turboing, instead of bypassing tool updates, the client will run the fast update instead. Note: a few tools still need to be thought out as to what they need to do in a fast update 2014-07-25 01:55:21 +00:00
adelikat 8c064875c2 TAStudio - ability to add markers, very crude implementation for now 2014-07-15 23:43:17 +00:00
adelikat 94b9761b31 Trace Logger - apply the new line hack done for clipboard to the save to file option 2014-05-20 18:38:25 +00:00
adelikat ff51a948f6 Trace Logger - make sure there isn't an extra line between instructions when copy/pasting 2014-05-06 17:53:21 +00:00
adelikat f714093b23 Movies 2.0 - some progress towards supporting floats 2014-02-25 02:56:32 +00:00
adelikat 003156d28e Trace Logger - remember window size, implement floating window and restore default settings, refactor, also clean up some ToolDialogSettings logic 2014-01-30 15:28:05 +00:00
adelikat d44e6c6342 Ditto for trace logger 2014-01-30 03:34:58 +00:00
zeromus 483cf96853 rename PathEntries.WatchPath etc. to PathEntries.WatchPathFragment to better convey the idea that it isnt a fully-qualified path, so its less likely to get used on accident 2013-12-13 05:20:50 +00:00
adelikat 0ed9d832c7 Trace Logger - some code clean up, some tiny speedups, and implement a few small tweaks like Always on Top, and Select All 2013-11-29 00:35:05 +00:00
adelikat 9ccc214667 Make an extension method ShowHawkDialog() to use for modal dialog calls that does the Sound Stop/Start methods (and potentially any other EmuHawk specific logic that needs to be done). Use this in the bazillion places we were calling StopSound and StartSound. 2013-11-28 22:39:00 +00:00
adelikat 589758f74d rename GlobalWinF to GlobalWin, yeah, I'm being nitpicky 2013-11-03 16:07:58 +00:00