Henrik Rydgård
31cf5771f4
Turn the break reason into an enum, fix some minor issues
2025-02-19 16:01:11 -06:00
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
39ffe92e0a
LR->RA rename, fixes
2024-12-12 17:47:37 +01:00
Henrik Rydgård
5817f60346
Remove redundant code. Add "break after syscall" button, fix up
2024-12-10 22:43:31 +01:00
Henrik Rydgård
474e7acf54
Hook up the new (bare-bones) ImGui debug window to GPU stepping, fix stepping.
2024-12-05 00:51:59 +01:00
Henrik Rydgård
ea43e07cce
Move some stuff around, rename some stuff
2024-12-05 00:36:48 +01:00
Henrik Rydgård
0f97578a35
Replace a bad function
2024-12-03 20:33:12 +01:00
Henrik Rydgård
7992ff4627
Make CBreakpoints an object
2024-11-25 00:22:53 +01:00
Henrik Rydgård
a8744f5992
Disable the native debugger when RetroAchievements hardcore mode is enabled
2024-11-10 19:19:03 +01:00
Henrik Rydgård
cf6d06c56a
Start work on imdbg
2024-11-07 11:10:12 +01:00
Henrik Rydgård
3a5968ba33
Don't block the render thread while the CPU is paused. This is a prereq for imgui debuggers.
2024-11-05 12:53:21 +01:00
Henrik Rydgård
785ce86f76
Apply that to breaking execution as well.
2024-11-03 17:54:55 +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
c851be26eb
Decouple the last part of step()
2024-11-03 17:54:54 +01:00
Henrik Rydgård
828523165f
Rework the step functions.
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
73aba606e7
Harmonize the various step functions in the disasm window
2024-11-03 17:54:54 +01:00
Henrik Rydgård
69177f7fa6
Same with Step Out
2024-11-03 17:54:54 +01:00
Henrik Rydgård
251fc8d905
Same with Step Over
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
Henrik Rydgård
d3e9398cb3
Split Core_EnableStepping into Core_Break and Core_Resume
2024-11-03 17:53:42 +01:00
Henrik Rydgård
770e5b4f4a
Fix shortcut translation so we don't eat Ctrl+C for RAIntegration windows
2024-04-05 22:41:08 +02:00
Unknown W. Brackets
f31a7a0582
Debugger: Update VFPU dialog more evenly.
...
Was previously not updating when you hit a breakpoint, stepped out, etc.
2023-04-09 10:12:54 -07: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
Unknown W. Brackets
cbc1ed4bfe
Debugger: Lock memory during stack walk.
...
In case of shutdown during it.
2023-02-22 21:14:33 -08:00
Henrik Rydgård
b4a91dbce5
Disable dark mode in disasm window, and the scrollbar hack
2023-01-12 01:05:06 +01: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
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
858539c5b0
Merge pull request #15402 from unknownbrackets/debugger-highlight
...
GE Debugger: Highlight changed state values
2022-02-13 21:42:43 +01:00
Unknown W. Brackets
b654ee9d44
Debugger: Allow custom draw and generic lists.
2022-02-13 10:22:38 -08:00
Unknown W. Brackets
ea6c42aafb
Debugger: Avoid scroll on breakpoint add.
2022-02-13 07:57:54 -08: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
045fc0f2b4
Debugger: Never wait inactive on window update.
...
This blocks the UI, and we always get a message when stepping is actually
active anyway. More importantly, we PostMessage() debugger state, so we
might've already resumed.
2021-12-12 11:36:06 -08:00
Unknown W. Brackets
db2eddcf27
Debugger: Remove double debug window updates.
...
Core_EnableStepping() is already marking the debug windows for update,
there's no need to call SetDebugMode() again.
2021-12-12 11:24:03 -08:00
Unknown W. Brackets
de1a6a93d8
Debugger: Debounce redraws using timers.
2021-12-12 10:22:21 -08:00
Unknown W. Brackets
96c1ae0f12
Debugger: Fix crash on stepping/break.
2021-11-14 09:31:43 -08:00
Henrik Rydgård
fc26beca4b
Also delay-load the VFPU dialog, just because
2021-11-13 22:24:30 +01:00
Henrik Rydgård
c004e9ca9d
Windows debugger: Load the dialogs on demand.
...
I think this is especially good for the Ge dialog since we now can avoid
initializing that extra GL context unless you open the dialog.
2021-11-13 22:10:37 +01:00
Unknown W. Brackets
2bd13c5d9d
Debugger: Track reason for entering stepping.
2021-10-23 16:56:15 -07:00
Unknown W. Brackets
882c22aa79
Windows: Remove some unused constants.
2021-10-03 06:53:58 -07:00
Unknown W. Brackets
75eeb55617
UI: Use a UIState for exceptions.
...
This makes it so we can enable Stop/Reset/etc. during them in the menus.
2021-08-08 23:40:41 -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
f32f89dd90
Global: Remove some unused variables.
2021-02-15 11:59:45 -08: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
Unknown W. Brackets
ef24aa69a6
Debugger: Populate funcs if disassembly open early.
2021-02-06 10:20:23 -08:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02: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