Commit Graph

441 Commits

Author SHA1 Message Date
Unknown W. Brackets f8064c6763 Debugger: Cleanup memview members.
Was fairly inconsistent.  This code has not changed a lot in a long time,
so let's just do a single cleanup pass before some changes.
2023-01-01 21:47:39 -08:00
Henrik Rydgård 40386bca08 Merge pull request #16688 from unknownbrackets/debugger
Debugger: Correct check of pending list item
2022-12-31 19:39:28 +01:00
Unknown W. Brackets bfc659ab5f Debugger: Correct check of pending list item.
Since updating is async now, setting the check state should be too.
2022-12-31 09:58:24 -08:00
Unknown W. Brackets 94a7a32234 Debugger: Correct errors in breakpoint create. 2022-12-30 15:07:02 -08: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
Unknown W. Brackets a7b7bf7826 Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets f44852bb18 Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Herman Semenov 29b87e0c0b Merge branch 'master' into master 2022-10-03 07:49:13 +00:00
Unknown W. Brackets ac335ad61a armips: Update to UTF-8/c++17 armips. 2022-09-30 19:48:14 -07:00
lainon 3cdf72b68b Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back' 2022-09-30 12:35:28 +03:00
lainon b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
lainon fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Unknown W. Brackets 1233d1d376 Reporting: Disable when debugger methods used.
This won't catch all means of hacking memory, but will catch some.
Trying to reduce noise in reporting from debugging.
2022-07-30 18:21:32 -07:00
Henrik Rydgård d3d601dced Windows fixes 2022-07-24 13:58:20 +02: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 d1c642982b Debugger: Improve memory search result draw speed. 2022-02-10 20:40:02 -08:00
Unknown W. Brackets d583720f2b Debugger: Search scratchpad/ram/vram consistently. 2022-02-10 20:39:29 -08:00
Unknown W. Brackets a397bf811b UI: Fix some sign/size comparison warnings.
Mostly size_t vs int.
2022-01-06 20:40:29 -08:00
Unknown W. Brackets 85b7b221be Debugger: Correct delayed symbol listbox updates.
With the dialogs no longer created on start, this message wasn't coming
through.
2021-12-31 09:10:40 -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 e7e5d031b2 Debugger: Fix crash on ill-timed breakpoint update. 2021-12-12 10:49:38 -08:00
Unknown W. Brackets de1a6a93d8 Debugger: Debounce redraws using timers. 2021-12-12 10:22:21 -08:00
Unknown W. Brackets b8ab7f39df jit: Lock around changes to the jit pointer. 2021-11-28 10:04:22 -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 09f4e82aa7 Debugger: Keep pop up menus to ContextMenu only. 2021-10-07 19:53:40 -07:00
Unknown W. Brackets 39d3b4d933 Debugger: Centralize context menu handling.
This deduplicates a bit, but more importantly keeps all the IDs together.
2021-10-07 19:48:13 -07:00
Unknown W. Brackets 58238abef5 Debugger: Fix submenu offsets from removing unused.
The wrong menus were showing in several places, especially the GE
debugger.
2021-10-07 07:04:33 -07:00
Unknown W. Brackets d8198ae3c2 Debugger: Implement goto in disasm for memory view.
This had been in the menu for a while, but not working.
2021-10-03 06:53:58 -07:00
Unknown W. Brackets 882c22aa79 Windows: Remove some unused constants. 2021-10-03 06:53:58 -07: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 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 012d47bcbf Debugger: Show string in status bar for li, etc.
This is helpful when stepping through the debugger.  Only shows likely
UTF-8 or similar formatted text, but often names or error messages are.
2021-04-21 23:50:59 -07:00
Unknown W. Brackets 2932a9995f Debugger: Prompt with previous search string.
When searching, fill the text box with the previous search by default.
Convenient when you want to edit it.
2021-04-21 19:47:18 -07:00
Henrik Rydgård e86e3cc7cd Merge pull request #14344 from unknownbrackets/debugger-mem
Include more memory info in debugger tags
2021-04-04 11:20:33 +02:00
Unknown W. Brackets 4285485157 Debugger: Add menu to jump to begin/end of alloc.
Helpful when viewing memory.  Should add a shortcut too...
2021-04-03 16:03:21 -07:00
Unknown W. Brackets f8306891c5 Windows: Avoid segfault if memory except on boot. 2021-03-28 19:44:17 -07:00
Unknown W. Brackets de72190344 Debugger: Update status on scroll down.
And include the start and end of the range.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets a4ed6eb167 Debugger: Fix memory lookup in mirrors/uncached.
Oops, was crashing before since it's outside the index.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets d48bb7e105 Debugger: Show memory tag info in status bar. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets b1a2090e67 Debugger: Extend tag background on select too. 2021-02-15 15:01:23 -08:00
Unknown W. Brackets c044e6f7e4 Debugger: Highlight memory ranges in memory view. 2021-02-15 15:01:23 -08:00