Commit Graph

46 Commits

Author SHA1 Message Date
Henrik Rydgård 20a17a0e8d Reorganize DebugInterface etc a bit.
KernelThreadDebugInterface no longer has a useless copy of a MIPSDebugInterface.
2024-12-12 18:54:46 +01:00
Henrik Rydgård 7992ff4627 Make CBreakpoints an object 2024-11-25 00:22:53 +01:00
Henrik Rydgård 5598228462 Better notification mechanism to scroll the disasm window after step 2024-11-03 17:54:55 +01:00
Henrik Rydgård 3ba3b911b4 Add disasm event WM_DEB_AFTEREVENT 2024-11-03 17:54:54 +01:00
Henrik Rydgård a730f01c53 Unify the step functions 2024-11-03 17:54:54 +01:00
Henrik Rydgård c787149472 Start moving the CPU debug-step logic to Core.cpp 2024-11-03 17:54:51 +01:00
Unknown W. Brackets 879e91dbf6 Debugger: Add empty watch tab for debugger.
Currently, there's nothing shown here.
2023-04-09 00:01:42 -07:00
Henrik Rydgård 62e5a5dfc3 Rudimentary support for Windows Dark Mode. Still undocumented for Win32 apps, so ugly. 2023-01-12 00:41:25 +01:00
Unknown W. Brackets 9435938ad9 Debugger: Cleanup some header pollution.
Also simplify just a bit.
2022-02-13 07:55:34 -08:00
Unknown W. Brackets 7fe9c4e519 Debugger: Debounce updates to disasm text.
This is a bit slow, so deferring it improves update speed.
2021-12-12 11:57:24 -08:00
Unknown W. Brackets ee8dd8b747 Windows: Remove some old and outdated files.
These aren't being used.
2021-10-03 06:17:33 -07:00
Unknown W. Brackets 5f9dfeea86 Windows: Reduce focus juggling on game start.
Previously, we would activate the debugger (if enabled), and then
reactivate the main window.  This meant if you switched to something,
PPSSPP would demand focus once the game loaded.
2021-04-24 23:53:16 -07:00
Unknown W. Brackets 2c165c9b6d Windows: Fix improper case or missing includes.
As per mingw errors/warnings.
2021-02-14 10:30:10 -08:00
Henrik Rydgård 84b36d6e61 Speed up game start under Windows by not filling the symbol listbox until the disasm window is opened. 2020-09-24 00:32:52 +02:00
Henrik Rydgård 6ac9dfe6b5 Windows debugger: Clean out old remains of multi-cpu support 2020-09-24 00:32:52 +02:00
Henrik Rydgård 6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Unknown W. Brackets 98d7afae89 Switch to #pragma once in a few places.
Doesn't really affect git history much to change these.
2015-03-02 22:34:51 -08:00
Kingcom 880be6d41d Module list in Windows debugger 2014-01-27 00:35:16 +01:00
Unknown W. Brackets db77dcd149 Fix some includes on Windows/etc. 2013-12-29 15:59:36 -08:00
Kingcom a5ae03cae1 -use tab control class for left tabs
-add a way to hide tab titles
-accelerator for GEDebugger
2013-09-30 15:56:08 +02:00
Kingcom f41e5a3867 -use TabControl for bottom tabs
-show/hide bottom tabs with ctrl+x
2013-09-30 10:40:15 +02:00
Kingcom d4b05f1763 Better disassembly resizing 2013-09-29 17:30:37 +02:00
Kingcom ed9c72e8eb Update CtrlBreakpointList 2013-09-29 11:19:13 +02:00
Unknown W. Brackets eba903f9db Stop jumping to pc after setting a breakpoint. 2013-09-21 08:24:24 -07:00
Unknown W. Brackets 8902e85f0a Enable the debug windows always, disable buttons.
This way you can close them/whatever, and hopefully should avoid crashes.

Only downside is you can't pause the game now and then hit stop in the
debugger.
2013-09-15 09:35:58 -07:00
Kingcom 42c30d521c -new accelerators for the Debugger
-copy address on right click in memory view
-don't change status bar text after activating the breakpoint window
2013-08-30 20:55:58 +02:00
Kingcom e308ef59f5 Add step out feature and button 2013-08-17 11:18:03 +02:00
Kingcom 4e8bca7549 Move step into, step out and run to line into accelerators 2013-08-17 10:49:07 +02:00
Kingcom 537ab396e7 Change the bottom control of the disassembly with Ctrl+1-4 2013-08-16 14:19:04 +02:00
Kingcom 07f279096f Add stack frames display 2013-08-12 22:11:00 +02:00
Kingcom 92c70af587 Add status bar 2013-07-30 16:19:05 +02:00
Unknown W. Brackets 97098f109a Use CommonWindows.h from Windows/ too.
Might as well.  Everything still builds fine.
2013-07-28 21:04:20 -07:00
Kingcom 007e03a4d7 Move breakpoint list to separate class 2013-07-08 17:59:34 +02:00
Unknown W. Brackets 7f858d7263 Add a context menu to enable/disable breakpoints.
Probably it could edit or etc. too...
2013-07-07 23:28:35 -07:00
Kingcom bccc3c4281 Debug interface improvements 2013-07-03 22:29:35 +02:00
Unknown W. Brackets defe750558 Update debugger UI on the debugger's threads. 2013-07-02 22:59:47 -07:00
Kingcom 24559491f0 Thread list in disassembly window 2013-07-02 23:21:20 +02:00
Unknown W. Brackets 9d8bdee089 Buffer the breakpoints in UI to avoid overflows. 2013-06-30 16:35:48 -07:00
Unknown W. Brackets aaafd372e9 Clear temp breakpoints off the CPU thread.
This should make it possible to actually clear them.  Fixes #2519.
2013-06-29 10:54:33 -07:00
Unknown W. Brackets c8509091af Allow the disasm height to be resized a bit more. 2013-06-28 21:39:53 -07:00
Kingcom b8f467b45a -don't step while the core is active
-reset the counter before starting the core (so that it actually counts the execution time of the last run)
2013-06-28 00:26:04 +02:00
Kingcom d4214af710 Breakpoint list at the bottom of the disassembly window 2013-06-27 21:07:49 +02:00
Kingcom 26c4f57691 Shortcuts for the disassembly view, step over extended, fixes 2013-06-26 21:49:15 +02:00
Unknown W. Brackets 3ef95fadb3 Save the disasm window's size in config.
And, allow it to be smaller.
2013-06-26 00:15:16 -07:00
Diogo Franco (Kovensky) 6108e36ae9 Several fixes to build under stricter C++11
Add missing #include to various files.

strings.h isn't provided by MSVC so we don't include it there; it's needed
for other OSes/compilers.

Get rid of pre-ISO-C malloc.h includes; malloc is provided by stdlib.h.

Fixes some linuxisms.

Prepend __builtin_ to __clear_cache, calling it without the prefix is a
GNU extension.
2012-11-21 14:33:50 -03:00
Henrik Rydgard 4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00