pcsx2/pcsx2-qt/Debugger
Dan McCarthy ade6a6c3ab
Debugger: Add memory search types: GreaterThan(OrEqual), LesserThan(OrEqual), and Not Equal (#10441)
* Make memory search search type handling more clear with enum

Adds an enum class to represent the Search type used in a memory search. Prior, this was just handled with an integer to represent each type, but it was very unclear what corresponded to which type at first glance.

Made this easier to follow by using an enum to represent the type.

* Debugger : Add support for greater than/less than/not equal search types

Adds support for basic greater than/greater than or equal/less than/less than or equal/not equal search types for the debugger's Memory Scan.

This adds a new input to allow selecting the search comparison type, which defaults to Equals, and allows switching to the above mentioned comparisons.
It's set up to allow for adding more easily. Restructures some of the functions to make having multiple comparisons quite manageable.
Adds an enum for search comparison types for easy logic handling.

* Debugger: Update Array/String search type error to mention not handling Not Equals

Currently array/string searches don't support Not Equals searches, so this needs to be removed.

* Debugger: Code cleanup + feedback changes

Sets up if expressions to use constexpr for compile time evaluation and makes the is greater/less than logic simpler to read for int. Also removes an unneeded QPushButton cast and simply compares the pointers directly.
2023-12-23 19:02:48 +10:00
..
Models Debugger: Flip the `Enabled` breakpoint column 2023-10-31 15:42:56 +00:00
BreakpointDialog.cpp Debugger Expressions: Add 'target', 'load', and 'store' reference 2023-01-14 01:58:04 +00:00
BreakpointDialog.h Debugger Breakpoints: (Refactor) Use some reflection and item models 2023-01-10 13:57:06 +01:00
BreakpointDialog.ui Debugger: Initial debugger implementation 2022-12-24 07:21:49 +00:00
CpuWidget.cpp Debugger: Add memory search types: GreaterThan(OrEqual), LesserThan(OrEqual), and Not Equal (#10441) 2023-12-23 19:02:48 +10:00
CpuWidget.h Debugger: Add memory search types: GreaterThan(OrEqual), LesserThan(OrEqual), and Not Equal (#10441) 2023-12-23 19:02:48 +10:00
CpuWidget.ui Debugger: Add memory search types: GreaterThan(OrEqual), LesserThan(OrEqual), and Not Equal (#10441) 2023-12-23 19:02:48 +10:00
DebuggerWindow.cpp Debugger: Visually show what CPU triggered a breakpoint 2023-10-26 19:26:43 +01:00
DebuggerWindow.h Debugger: Visually show what CPU triggered a breakpoint 2023-10-26 19:26:43 +01:00
DebuggerWindow.ui Debugger: Fix an issue where the debugger is always on top of the main window 2023-10-13 13:53:12 +01:00
DisassemblyWidget.cpp Debugger: Don't modify disassembly focus on CPU state change 2023-12-15 20:35:06 +00:00
DisassemblyWidget.h Debugger: Don't modify disassembly focus on CPU state change 2023-12-15 20:35:06 +00:00
DisassemblyWidget.ui Debugger: Initial debugger implementation 2022-12-24 07:21:49 +00:00
MemoryViewWidget.cpp Debugger: Run the tables keybind handler before the widgets 2023-10-07 14:12:18 +10:00
MemoryViewWidget.h Debugger: Don't modify disassembly focus on CPU state change 2023-12-15 20:35:06 +00:00
MemoryViewWidget.ui Debugger: Initial debugger implementation 2022-12-24 07:21:49 +00:00
RegisterWidget.cpp Debugger: Properly initialize primitive class members 2023-08-22 21:23:16 +02:00
RegisterWidget.h Debugger: Don't modify disassembly focus on CPU state change 2023-12-15 20:35:06 +00:00
RegisterWidget.ui Debugger: Initial debugger implementation 2022-12-24 07:21:49 +00:00