Henrik Rydgård
126d88ecfc
Back out clearly inconsequential/useless .reserve() calls
2023-12-29 08:27:56 +01:00
Henrik Rydgård
6945deec01
Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy
2023-04-28 21:04:05 +02:00
Henrik Rydgård
178fe27263
Merge pull request #17269 from unknownbrackets/debugger-minor
...
Debugger: Avoid unaligned reads in expressions
2023-04-12 10:38:08 +02:00
Unknown W. Brackets
9cebfc31b3
Debugger: Avoid unaligned reads in expressions.
...
Potentially, a watch or break condition could crash if it was unaligned
between mirrors. This might happen if it's not the condition you wanted,
especially. Play it safe.
2023-04-12 01:14:30 -07:00
Nemoumbra
5bf22c15d0
sceKernelPrintf improvement, QOL adjustments
2023-04-11 15:47:50 +03:00
Henrik Rydgård
3c9e968ca0
Merge pull request #17206 from unknownbrackets/debugger
...
Debugger: Fix memory viewer, inverted check
2023-03-29 08:07:39 +02:00
Unknown W. Brackets
a4d13d5f75
Debugger: Fix memory viewer, inverted check.
2023-03-28 22:52:01 -07:00
Nemoumbra
4a54409f09
Added new option "Copy Float (32 bit)" to Windows Debugger UI
2023-03-28 13:18:20 +03:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Unknown W. Brackets
88489bf4cc
Debugger: Fix out of bounds read for unsized copy.
2023-01-04 21:42:46 -08:00
Unknown W. Brackets
7c099dc764
Debugger: Allow copy of byte range from memview.
2023-01-01 23:02:12 -08:00
Unknown W. Brackets
bba748d627
Debugger: Handle memview select right click better.
...
Shouldn't reset if you click inside. Also should basically ignore
modifiers, that's how it normally behaves.
2023-01-01 22:49:04 -08:00
Unknown W. Brackets
a7101b128f
Debugger: Allow memview select with keyboard.
2023-01-01 22:37:53 -08:00
Unknown W. Brackets
f66818ba80
Debugger: Allow selecting a range in memory view.
2023-01-01 22:28:29 -08:00
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
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
Unknown W. Brackets
d583720f2b
Debugger: Search scratchpad/ram/vram consistently.
2022-02-10 20:39:29 -08:00
Unknown W. Brackets
de1a6a93d8
Debugger: Debounce redraws using timers.
2021-12-12 10:22:21 -08:00
Unknown W. Brackets
2bd13c5d9d
Debugger: Track reason for entering stepping.
2021-10-23 16:56:15 -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