Henrik Rydgård
644f5e4e6c
Expose PSPModule (so the debugger can access it later)
2025-03-31 09:56:08 +02:00
oltolm
02e767866a
fix compiler warnings
2025-02-22 14:15:15 +01:00
Henrik Rydgård
f206ed95eb
Get rid of remains of support for non-square screen DPIs
2025-02-20 11:14:26 -06:00
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
23954f5403
Implement the disassembly mode too
2025-01-09 13:35:29 +01:00
Henrik Rydgård
c91169e702
Restore removed <algorithm> includes.
...
Turns out these were needed after all. For some reason, on Windows and
Mac, <algorithm> gets auto-included by something else so I don't notice
when it's missing, and MSVC's include dependency tracker doesn't see it
either.
2024-12-19 09:53:07 +01:00
Henrik Rydgård
3e198c53b2
More include cleanup
2024-12-18 13:57:26 +01:00
Henrik Rydgård
597be1c9bc
Stop pretending that DisassemblyManager isn't a singleton - it currently is.
2024-12-12 19:25:04 +01: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
cdef529aa3
Initial memory view work, not yet building
2024-12-12 17:47:33 +01:00
Henrik Rydgård
637d15434e
Minor code cleanup. Add Goto LR button
2024-12-10 22:56:03 +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
21997784bf
Extract FormatStateRow() from the Win32 GE debugger to GPU/Debugger/Registers
2024-12-05 10:07:29 +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
3cba1135d5
Add basic breakpoint editing window. Need UI refinement
2024-11-25 00:23:28 +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
88a2994a4d
Make some more ImGui debugger windows (modules, threads, callstack)
...
Funcionality is a bit limited though (no context menus yet)
2024-11-07 13:29:27 +01:00
Henrik Rydgård
2767fb1f9e
Actually fix the black background in the win32 debugger
2024-11-07 12:55:53 +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
f020d1d815
Windows inputbox: Add flags field, delete dupe code, add ability to mask passwords
2024-09-26 10:48:31 +02:00
Herman Semenov
3c66f149d3
[Common/Core/Windows] Removed excess check pointer before delete or free()
2024-09-17 11:34:42 +02:00
Henrik Rydgård
5939270d2c
Log: Split out StdioListener from ConsoleListener, making the second Win32-only.
2024-07-21 13:55:40 +02: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
Henrik Rydgård
81ef166772
Combine two minor fixes by GermanAizek
...
This takes the good parts from #18995 and #18999
2024-04-04 20:57:51 +02:00
Herman Semenov
17ecee1715
Fixed return copies from functions and const ref params
2024-04-02 18:37:00 +03:00
Henrik Rydgård
126d88ecfc
Back out clearly inconsequential/useless .reserve() calls
2023-12-29 08:27:56 +01:00
Henrik Rydgård
f2ee437323
Merge pull request #18579 from GermanAizek/emplace_back
...
Minor replaced insert to emplace C++11
2023-12-19 14:30:26 +01:00
Herman Semenov
4ea842a3c1
Minor replaced insert to emplace C++11
2023-12-19 16:06:48 +03:00
Henrik Rydgård
6140321be5
Merge pull request #18566 from Nemoumbra/debugger-ui-fix
...
Stop opening some context menus when the game's not loaded
2023-12-17 16:31:41 +01:00
Henrik Rydgård
6da23a2a24
Merge pull request #18543 from hrydgard/minor-crash-fix
...
Minor debugger-related crash fixes
2023-12-14 14:12:20 +01:00
Herman Semenov
3d422b11c0
[GPU Common Vulkan/UI/Windows Debugger] Added const reference for function params
2023-12-14 14:23:31 +03:00
Nemoumbra
a4fe83ea20
Stop some UI elements from opening when the game's not loaded
2023-12-14 01:40:46 +03:00
Henrik Rydgård
15c0bb1bd0
Fix crash in debugger after unloading the game.
2023-12-13 22:00:55 +01:00
Nemoumbra
5ca099a747
Scan/remove -> edit symbols
2023-07-17 16:38:24 +03:00