Commit Graph

2337 Commits

Author SHA1 Message Date
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
957e15f23a GE Debugger: Highlight changed matrix values. 2022-02-13 10:53:01 -08:00
Unknown W. Brackets
8ffef9dd1e GE Debugger: Highlight changed state values.
This way it's easy to tell while stepping what is different.  Especially
useful in the watch tab.
2022-02-13 10:52:41 -08: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
Henrik Rydgård
21736d1ab4
Merge pull request #15392 from unknownbrackets/debugger-memview
Make debugger memory search more consistent
2022-02-11 08:39:01 +01: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
6064b77356 GE Debugger: Correct icon list cleanup on shutdown. 2022-02-09 20:50:04 -08:00
Unknown W. Brackets
c66619f7c9 GE Debugger: Add filter to skip prim calls.
This allows you to cut prims from the scene as desired.
2022-02-06 21:25:33 -08:00
Unknown W. Brackets
459bb83c23 GE Debugger: Allow modify/breakpoint on matrix. 2022-02-06 00:16:35 -08:00
Unknown W. Brackets
72b2fbf635 GE Debugger: Cleanup right click on state.
Oops, was toggling breakpoint on "Change..." if you right clicked the
icon.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
9f434fa14d GE Debugger: Allow setting secondary values.
This makes it convenient to update the bufw of textures or similar.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
1bb1f34af0 GE Debugger: Add breakpoint icon in state. 2022-02-05 19:27:28 -08:00
Unknown W. Brackets
4de217d3e4 GE Debugger: Cleanup vertex list redraw.
When you're scrolled down and it deletes items, it was previously
scrolling up an extra step, and not redrawing.  This tries to force
workaround the bug.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
7e814decc7 Headless: Improve total test time on Windows.
This improves it by almost 40%.
2022-01-30 08:27:22 -08:00
Unknown W. Brackets
eb95b99523 GE Debugger: Add option to auto flush.
This makes it easier to see what's happening in each draw.
2022-01-22 13:12:59 -08:00
Unknown W. Brackets
b840eec290 GE Debugger: Cut down on primary buttons.
Most of these are not commonly used, and it makes the interface feel a bit
cluttered.
2022-01-22 12:01:10 -08:00
Unknown W. Brackets
a4a72ed7c1 GE Debugger: Add a menu to the GE debugger window.
This will allow adding more features without making the UI a mess.
2022-01-22 12:01:07 -08:00
Cameron Cawley
26203552b4 Use System_GetPropertyInt to report the keyboard layout 2022-01-10 00:11:08 +00: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
c57e5b081d Debugger: Debounce list control updates. 2021-12-12 11:03:19 -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
42bc9066ee Add shortcut for content_uri and native paths in CleanRecent. Saves 150ms. 2021-11-13 22:47:29 +01: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
Henrik Rydgård
11eb5fa0c2
Merge pull request #15002 from unknownbrackets/ui-open-memstick
UI: Add button to show memstick folder
2021-10-19 19:55:30 +02:00
Unknown W. Brackets
8e15f755e6 UI: Add a sysprop for if the device has a keyboard.
Still left some ifdefs because of System_InputBoxGetString(), but
hopefully we can move away from them.  Some devices (like SDL) may only
optionally have a keyboard, so it's a runtime check.
2021-10-19 10:01:52 -07:00
Unknown W. Brackets
8d29aa6590 Windows: Switch to preferred file selection method.
It seems like the previous may not support long paths.
2021-10-19 10:01:27 -07:00
Unknown W. Brackets
183b0c3b49 Windows: Pause from menu shouldn't affect Break.
They're separate states, and pausing can be done now without break.
2021-10-12 20:47:14 -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
Henrik Rydgård
ce91798b27
Merge pull request #14983 from unknownbrackets/debugger-menus
Debugger: Fix submenu offsets from removing unused
2021-10-07 16:40:52 +02: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
f7607316ab Windows: Remove UI for auto texture scaling.
Functionality removed in 887f610.
2021-10-05 19:33:33 -07:00
Unknown W. Brackets
47fb9b44bd Windows: Update copyright year. 2021-10-03 06:53:58 -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
Henrik Rydgård
992ad801e7 Add a crude way to blacklist post/texture shaders from certain vendors.
Use it to work around #14530 for now.
2021-09-28 23:39:52 +02:00