Commit graph

81 commits

Author SHA1 Message Date
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
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
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
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
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
Unknown W. Brackets
d80655287b Debugger: Reorganize memory view painting.
This also grabs tag info, but doesn't display it yet.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
616850663c Debugger: Add initial UI for mem info type.
Does not visualize yet, just implements the selection interface.
2021-02-15 15:01:23 -08:00
Unknown W. Brackets
616f5ddc5a Debugger: Correct search by empty string. 2021-02-15 15:01:23 -08:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
4e7944a353 Fix some bugs and style for #12994 2020-06-06 14:29:39 +02:00
Nikita Filippov
021e783b4a rudimentary serch function added for the memory dialog
fixed the memory addressing bug in search

the search box almost works

search now works, however the strings in search window neeed a fix

fixed the address display in search results

search works

fixed review comments, except .rc

preadjust the button placement

fixed rc
2020-06-06 14:23:26 +02:00
Henrik Rydgård
e74be9c492 DPI fixes in the old Win32 debugger. Fixes #11856.
Also some general cleanup of it but decided it wasn't worth it to continue.
2019-03-03 09:19:44 +01:00
dl471
7f3aaaa0f7 Readability improvements
-Change variable names related to offsets for consistency

-Add a few comments
2018-10-22 15:56:37 +01:00
dl471
b25adc7ba8 Implement drawing of offset scale
-Add function to draw offset

-Add checkbox to allow toggling of offset writing

-Set writeOffsets default value to Off

-Ensure the drawing and user input is not affected by the offset
2018-10-22 03:31:10 +01:00
dl471
c11cfe37f8 Implement saner making space for offsets
-Adjust the y coordinates of the rows as they are drawn

-Adjust visible rows

-Adjust clicks
2018-10-22 03:31:02 +01:00
dl471
f52b888186 Make space for offsets (dirty implementation) 2018-10-22 03:30:30 +01:00
Unknown W. Brackets
8598fc9912 Debugger: Add some missing memory locks.
We can restart memory when loading save states, so we need this even while
we've got startup/shutdown locked.
2018-06-08 06:59:18 -07:00
Henrik Rydgård
6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Henrik Rydgard
d3018c1787 Windows: Enable ASLR (had to fix a few pointer truncations) 2015-07-15 20:02:42 +02:00
Unknown W. Brackets
55403e42c2 Introduce a memory shutdown lock.
This allows the debugger to access memory in a safe way that should never
crash.
2014-07-19 23:30:19 -07:00
Unknown W. Brackets
8f09a341df Fix a few leaks in the Windows UI code. 2014-02-14 21:08:24 -08:00
pal1000
2f52872eb3 Performed cleanup in CtrlMemView.cpp 2013-11-21 15:10:20 +02:00
Henrik Rydgård
89b48cf95b Add missing brace. 2013-11-20 16:57:12 +01:00
pal1000
e2aa554884 Indentation fix part 2 2013-11-20 17:46:01 +02:00
pal1000
8fa99749c9 Indentation fix for CtrlMemView.cpp 2013-11-20 17:43:26 +02:00
pal1000
77cad8f5be Attempted an indentation fix 2013-11-19 19:37:09 +02:00
pal1000
de09ce6d1c Fix: Auto resume emulation if emulation was in running state to begin with 2013-11-19 19:29:38 +02:00
pal1000
37e52f8b92 Attempt on fixing breakage caused by pull #4575 by using a simpler and more cautious coding 2013-11-19 19:18:08 +02:00
pal1000
34be878d2a Automatically resume emulation after memory dump only if the emulation was active beforehand 2013-11-19 15:11:47 +02:00
pal1000
3d2d3cdaaa Ask the user about resuming emulation after memory dump completed. 2013-11-18 15:38:31 +02:00
pal1000
c64ba56d6e Update windows Memory Viewer: Attempt automatic pause/resume when dumping RAM
May need testing.
2013-11-18 12:30:52 +02:00
Henrik Rydgård
44c866e90c Merge pull request #4474 from Kingcom/Debugger
Periodically redraw memory view
2013-11-07 11:38:53 -08:00