Commit graph

5025 commits

Author SHA1 Message Date
Henrik Rydgård
6b11ebfb9f ImDebugger: Fix a bunch of keyboard shortcuts 2024-11-23 23:23:52 +01:00
Henrik Rydgård
c5eb600044 Add search functionality to disassembler 2024-11-23 23:23:52 +01:00
Henrik Rydgård
194b2ce076 Ge Debugger: Add a framebuffer listing, along with some plumbing 2024-11-23 23:23:48 +01:00
kotcrab
bf0b8b59a5 Various struct viewer fixes and improvements
- Can't add multiple watches at once from globals
- Removing watch incorrectly affects tree state
- Fix formatting bitfield enum member with 0 value
- Better formatting for non bitfield enums
- More accurate setup instructions
- Improved UI for setting number of pointer elements
- Chunked display for large arrays and pointers
2024-11-23 10:57:42 +01:00
kotcrab
41c53bbb7a Fix comments style 2024-11-22 22:44:45 +01:00
Henrik Rydgård
107bd01536 Fix some issues with clicking touch buttons using the mouse after the hover change.
Increase a buffer size.
2024-11-22 10:31:10 +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
659af60613 Fix ImDebugger rendering on D3D9 as well (although not very optimally). 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
68b496a868 Nemo's buildfixes 2024-11-21 15:48:17 +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
kotcrab
e3e831851b Add GhidraClient and ImStructViewer docs
Few more code comments and misc clean up
2024-11-19 00:15:14 +01:00
kotcrab
2c49cae1e2 Struct viewer, fix build
Fix open check
2024-11-15 20:27:23 +01:00
kotcrab
f9d7e426f8 Support copy address and value in Struct viewer
Reorganize add breakpoint menu
Style fixes
2024-11-15 19:55:55 +01:00
kotcrab
3182cc29e4 Add struct viewer debugging tool 2024-11-15 19:55:54 +01:00
Henrik Rydgård
9e5ac2c0e0 Throttle the display rate when stepping in the debugger. Fixes power regression from the debugger refactor 2024-11-15 17:37:23 +01:00
Henrik Rydgård
2eaffcf510 ImDebugger: Add atrac context viewer 2024-11-15 15:59:16 +01:00
Henrik Rydgård
7c16e332e8 Implement selection in modules and threads views 2024-11-15 15:59:16 +01:00
Henrik Rydgård
5a0d6f7a15 Sort the modules in the HLE module viewer 2024-11-15 14:49:19 +01:00
Henrik Rydgård
0776ee01a8 ImDebugger: Add initial HLE module explorer window` 2024-11-15 14:49:19 +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
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
e9bc28f629 Fix bug where the 'o' char input got eaten because the char matches the keycode for Esc.. 2024-11-07 19:56:32 +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
0535f5ebc1 Fix black background in old debugger 2024-11-07 11:27:42 +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
f0ae048d21 Fix mouse hover in SDL builds 2024-11-06 22:09:53 +01:00
Henrik Rydgård
8dba3a50f7 imgui: Code cleanup, fix clean shutdown 2024-11-05 11:27:16 +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
19f4b22a56 Cleanup, add right-click support to UI framework 2024-11-05 01:03:21 +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
8da1ccc3de Hook up basic keyboard and mouse input 2024-11-04 23:14:39 +01:00
Henrik Rydgård
17a7c80cb1 Get it rendering on Vulkan and D3D11 (OpenGL is bugged though) 2024-11-04 23:14:39 +01:00
Henrik Rydgård
4b66a80d2b More work, starting to integrate into the EmuScreen 2024-11-04 23:14:39 +01:00
Henrik Rydgård
6f5339156c Imgui build system 2024-11-04 23:14:39 +01:00
Henrik Rydgård
d37c04079d Change the 2D matrix generation to query the coordinate convention from the draw context 2024-11-04 23:14:23 +01:00
Henrik Rydgård
9fb759d626 Fix minor theme issue in Store, thanks Nabn00b.
See #19550
2024-11-04 15:45:40 +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
1f8549045d Default Discord rich presence to off 2024-11-02 21:36:30 +01:00
Henrik Rydgård
55d110493a Hide the Discord Rich Presence option on platforms where we don't support it 2024-11-02 21:31:45 +01:00
Henrik Rydgård
6b753c1d63 Fix scaling issue in touch control layout screen, thanks @iota97
See #19573
2024-11-02 19:53:29 +01:00
Henrik Rydgård
dd8f9b682f Don't crash on trying to re-record a GE dump 2024-11-01 20:27:09 +01:00
Henrik Rydgård
2adbc231f0 EmuScreen: Turn the pass asserts into dbg_asserts and add safe workarounds 2024-10-31 23:09:47 +01:00