Commit graph

13447 commits

Author SHA1 Message Date
Henrik Rydgård
0e6fc8e0e3 Assorted warning fixes 2024-11-28 15:02:26 +01:00
Henrik Rydgård
3d960d23ea Avoid a couple of unnecessary Exists checks 2024-11-28 15:02:26 +01:00
Henrik Rydgård
541c1c0861 Remove some obsolete debugging stuff 2024-11-28 11:19:01 +01:00
Henrik Rydgård
ca7268a64d Use a separate file for the "Failed GPU backends" on all platforms.
This avoids saving config to clear it during startup.
2024-11-28 09:48:15 +01:00
Henrik Rydgård
2a05dce105 Show sceMp3 in audio codecs window 2024-11-27 10:35:11 +01:00
Henrik Rydgård
1df3b9b905 Add config save/load for imdebugger, move the imgui.ini to PSP/SYSTEM 2024-11-27 09:15:03 +01:00
Henrik Rydgård
a74e4a105c ImDebugger register window: Show fpcond on FPU tab. Fix display issue in kernelobj window 2024-11-26 08:41:39 +01:00
Henrik Rydgård
1eadea2589 Show the filesystem types and origins in the list (except ISO) 2024-11-26 00:36:58 +01:00
Henrik Rydgård
e95d9b15b4 Add kernel object viewer, reimpl "Run to here" 2024-11-26 00:13:37 +01:00
Henrik Rydgård
47d8e292eb ImDebugger: Add basic filesystem browser. Add partial support for "save file dialogs" to System. 2024-11-25 23:03:15 +01:00
Henrik Rydgård
20c4649963 Fix step over, other stepping issues 2024-11-25 19:02:17 +01:00
Henrik Rydgård
9801f4c810 Add "Rename function" functionality. Fix some input and stepping bugs. 2024-11-25 10:18:56 +01:00
Henrik Rydgård
9138b7944d Buildfix 2024-11-25 00:30:16 +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
5a3eeb9d9b ImDebugger: Fix issue with HLE Modules window always showing, more granular sleep logging 2024-11-21 15:48:18 +01:00
Henrik Rydgård
0e3c1df9b3 Add a way to access the ImDebugger from the DevMenu 2024-11-21 15:48:18 +01:00
Henrik Rydgård
59a56d66c7 Add a "reason" argument to sleep_ms().
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.

This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård
2eaffcf510 ImDebugger: Add atrac context viewer 2024-11-15 15:59:16 +01:00
Henrik Rydgård
ffe05bdf58 Memmap error message improvements 2024-11-15 15:59:16 +01:00
Henrik Rydgård
30207aa25c Stackwalk safety fix. Stackwalk logic fix (although probably not very important) 2024-11-15 15:59:08 +01:00
Henrik Rydgård
0776ee01a8 ImDebugger: Add initial HLE module explorer window` 2024-11-15 14:49:19 +01:00
Henrik Rydgård
b56626727e
Merge pull request #19627 from hrydgard/consider-kernel-vram-invalid
Memory::IsValidAddress: Consider VRAM with a kernel flag invalid.
2024-11-13 10:03:31 +01:00
Henrik Rydgård
39a07a033c Make imdebugger visibility a config option instead of emuscreen state 2024-11-12 12:20:47 +01:00
Henrik Rydgård
df104e7e31 Fix crash due to null break reason 2024-11-12 11:25:35 +01:00
Henrik Rydgård
d2ffac57dc Memory::IsValidAddress: Consider VRAM with a kernel flag invalid.
We don't have it mapped in our memory map, so this can actually crash
checked reads like Read_U32.

Since it isn't mapped, and it can't possibly be valid in retail PSP
games to access VRAM this way, I don't think this will cause any
problems.

However, if it does, we'll have to add the corresponding mappings to the
memory map.
2024-11-12 10:41:14 +01:00
Henrik Rydgård
9056fea501 Disable the ImGui debugger if RetroAchievements hardcore mode is enabled. 2024-11-10 19:00:13 +01:00
Henrik Rydgård
80474fd0f0 Some cosmetic fixes to the ImGui debugger 2024-11-07 20:11:23 +01:00
Henrik Rydgård
8081ebc265 Crashfixes 2024-11-07 19:56:32 +01:00
Henrik Rydgård
ace7cae79a
Merge pull request #19609 from hrydgard/imgui-debugger
ImGui debugger
2024-11-07 12:53:47 +01:00
Henrik Rydgård
dd26bcf1af Cache symbols and use a clipper to speed up the symbol list. 2024-11-07 11:11:47 +01:00
Henrik Rydgård
99eb0bbd64 Improve register view, fix follow PC, some cleanup 2024-11-07 11:10:16 +01:00
Henrik Rydgård
9c92978fcc ImGui debugger: assorted work 2024-11-07 11:10:16 +01:00
Henrik Rydgård
84a0293e54 Add basic register view 2024-11-07 11:10:16 +01:00
Henrik Rydgård
cf6d06c56a Start work on imdbg 2024-11-07 11:10:12 +01:00
Henrik Rydgård
271d2b41fa Bugfix taking screenshots of rotated framebuffers, common in Vulkan on many Android devices 2024-11-07 10:17:56 +01:00
Henrik Rydgård
36328d0ec4 Remove the separate lua vcxproj. Somehow cursed on the buildbot :/ 2024-11-06 20:18:05 +01:00
Henrik Rydgård
c8d43198d3 RAIntegration: Fix the filename in the not-found messages. 2024-11-06 14:47:48 +01:00
Henrik Rydgård
55aa1ff66e Warning fixes 2024-11-06 11:59:34 +01:00
Henrik Rydgård
2daca0fedf
Merge pull request #19589 from hrydgard/refactor-execution
Refactor execution: No longer freeze the "EmuThread" when paused in the debugger
2024-11-05 13:10:06 +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
e19ad1f359 Remove return value from Core_PerformStep 2024-11-05 12:53:21 +01:00
Henrik Rydgård
f23ec1cf23 Initial build setup for including lua 2024-11-05 11:20:43 +01:00
Henrik Rydgård
c459d43f14
Merge pull request #19569 from hrydgard/imgui-integration
ImGui integration prototype
2024-11-05 10:18:30 +01:00
Henrik Rydgård
0228e7f570
Merge pull request #19576 from hrydgard/rearchitect-stepping
Move CPU stepping logic out of the disassembler window code
2024-11-05 10:18:08 +01:00
Henrik Rydgård
caf27a5c0d Add a mappable key for toggling the imgui interface. For now it's called Toggle debugger. 2024-11-04 23:33:03 +01:00
Henrik Rydgård
cebb2ea96e Add missing return statement from PBPReader::GetSubFileAsString. Compiler should have rejected this.. 2024-11-04 01:15:00 +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
828523165f Rework the step functions. 2024-11-03 17:54:54 +01:00