Commit Graph

123 Commits

Author SHA1 Message Date
Drahsid 43cbeb3517 Added Vector2, Vector3, and Vector4 to the symbols window and memory viewer. 2020-05-02 06:25:28 -04:00
Summate af0b0e18ea Adding label IDs to correspond to debugger register edit IDs
Abstracting pairing edit IDs with label IDs
Extracting definition of register tab data to a separate file
Adding a facility to get the text of a CWindow, there didn't seem to be a straightforward mechanism to do this Adding functionality to clipboard the current tab's registers or registers from all tabs
Fixing FCSR to have the same styling as all of the other register edit fields
2020-04-09 01:17:19 -05:00
Summate fef045baed Cleaning up unclear booleans with a clearer enum class 2020-04-08 07:00:17 -05:00
zilmar 28c9118912
Merge pull request #1708 from shygoo/dbg-fix-cmd-syms
[Debugger] Fix symbol display in commands window
2020-02-24 09:59:01 +10:30
shygoo 65b2ecb3bd [Debugger] Fix symbol display in commands window 2020-02-23 11:28:25 -06:00
zilmar f2462cbc18
Merge pull request #1705 from Drahsid/master
Added type, name, value, desc editing in the symbols window; 'new tab' shortcut to memory viewer
2020-02-20 12:30:26 +10:30
shygoo e375cde458 [Debugger] Add warning for recompiler 2020-02-18 14:04:18 -06:00
Drahsid 95468ef91a Add ctrl+n 'new tab' shortcut to memory viewer
Sometimes you just want a new tab that is not a duplicate.
2020-02-14 08:48:51 -05:00
Drahsid e049c48b2b Fix issues 2020-02-10 22:42:25 -05:00
Drahsid f3085844f5 Added type, name, value, desc editing in the symbols window
I'm not sure if this is written how it should be, but the lack of this feature had been bugging me for a bit and I would like to see it to be standard.
2020-02-10 21:36:30 -05:00
zilmar 088dc17556
Merge pull request #1698 from kaitengero/debugger-scripts
Additional functionality for debugger scripts
2020-01-26 09:06:31 +10:30
shygoo 277f1c4a31 [Debugger] Clean up compiler warnings 2020-01-22 00:34:27 -06:00
shygoo bbabbc7b28 [Debugger] Fix hex string search and GS code copy 2020-01-22 00:34:13 -06:00
kaitengero 13c3f44487 Add "Edit" option to script context menu 2020-01-06 21:23:59 -08:00
kaitengero 6b45241252 Refresh "Scripts" window on script state change 2020-01-06 19:50:48 -08:00
kaitengero e15e59052c Quick script toggling on double click 2020-01-06 19:46:17 -08:00
shygoo a2427459cb [Debugger] Fix symbols memory leak 2019-12-27 12:48:55 -06:00
shygoo 9406544aea [Debugger] Misc cleanup and fixes 2019-12-24 18:41:20 -06:00
shygoo 582469bf1a [Debugger] Improve memory viewer's follow pointer and jump menu behavior 2019-12-24 12:53:19 -06:00
shygoo d76d3e82c1 [Debugger] Optimize interpreter breakpoint and callback checks 2019-12-01 04:10:36 -06:00
shygoo 5c2aa06f7c [Debugger] Rewrite memory viewer
replace the list control with a custom hex editor control
add ability to select/copy/paste/delete multiple bytes
add byte group size option
make window resizable
fix DPI-related issues
speed up auto-refresh
remove option to disable auto-refresh (new control's cpu usage is insignificant)
move the dump and search buttons into the context menu
change colors of breakpoints to match the command window's
highlight CPU read and write targets while stepping
move address info into a status bar
allow window to open before MMU is initialized
add shortcut keys for various actions
add "follow pointer" feature
add "safe mode" feature
add copy gameshark code feature
add copy with row/group addresses feature
add tabs feature
add jump menu for hardware regions
fix cartridge ROM addresses not being viewable
allow writes to cartridge ROM
use thread-safe functions for reading/writing memory
2019-11-30 11:48:46 -06:00
shygoo 2137b365bb [Debugger] Add breakpoints for specific interrupts and FP exceptions 2019-08-20 17:20:49 -05:00
Julio C. Rocha 05c2b59c3a Use _Pairib in VC versions below 14.2. 2019-08-17 00:59:45 -07:00
Julio C. Rocha 1ad1f71d2f Make code base compatible with Visual Studio 2019.
- Allow building with the MSVC 14.2 toolset.
- Removed explicit reference to deprecated typedef std::map::_Pairib.
2019-08-16 20:46:11 -07:00
shygoo e7e91b878f [Debugger] Add copy buttons to memviewer popup menu 2019-08-04 17:50:52 -05:00
Azimer 84c164ff66 Fix for Windows XP compatibility
I neglected FreeLibrary and have multiple calls to LoadLibrary without freeing.  This is fixed by moving it to the class member level and allocating and deallocating through the class constructor/destructor.
2019-08-01 09:39:39 -05:00
Azimer a972773b6a Windows XP Fixes?
Does this actually work?
2019-07-31 23:28:49 -05:00
shygoo 946284a09a [Debugger] Make register tabs stable 2019-06-15 06:04:37 -05:00
oddMLan 06d0e27af6 [Debugger UI] Fix TLB window in HDPI configs 2019-05-10 09:23:41 -07:00
Joe Eagar 82463fbdd8 Fixed a few bugs with the scripts system. I suspect there are more; the
threading code needs some refactoring.  List of changes:

* Script threads no longer call the debugger UI (e.g. refresh) nor do
  they call the script system's cleanup function
  (deleteStoppedInstances).
* Changed API.js Server.on method to queue calls to nativeAccept if .listen()
  hasn't been called yet (otherwise winsock gives errors).
* Added various paranoia thread locks.
* Forced termination of script threads now works.  The (commented) call
  to TerminateThread didn't work because getCurrentThread() doesn't return
  a "real" HANDLE.  The solution is to pass the result of getCurrentThread
  to DuplicateHandle to get a "real" handle.
2019-04-28 23:28:12 -07:00
Joe Eagar 83f445f050 Fixed heap overrun error 2019-04-28 00:38:35 -07:00
oddMLan b1e950be20 Move CListViewCtrlVarDPI class code into ATL 2019-04-19 16:48:53 -07:00
oddMLan b9025667f8 [Debugger UI] Save window size only when the window is resizable.
Prevents some dialogs from becoming clipped at high DPI
2019-04-18 18:18:55 -07:00
oddMLan df9967b782 [Debugger] Change Commands and Registers font to Lucida Console 2019-04-18 16:29:07 -07:00
oddMLan d21e7c8684 Fix warning 2019-04-18 15:35:54 -07:00
oddMLan d83c8597b6 [Debugger] Make Debugger DPI-Aware
Thanks @Shygoo for the class code
2019-04-18 14:10:04 -07:00
oddMLan 01d4ed0bc3 Change some error message boxes to warnings 2019-04-15 08:58:22 -07:00
shygoo 346d21cd56 [Debugger] Improve the search tool 2019-04-03 13:56:45 -05:00
shygoo 22b4a3e94f [Debugger] Make DMA log stable 2019-04-02 14:16:39 -05:00
shygoo 27bc76d089 [Debugger] Make DMA log stable 2019-04-02 13:28:46 -05:00
shygoo 03ba3640b5 [Debugger] Clean up compiler warnings 2019-01-27 16:40:23 -06:00
LuigiBlood c714584fac Cause register access for scripts 2019-01-24 19:48:26 +01:00
shygoo 62baab2877 [Debugger] JS: Make debug.breakhere stable 2019-01-20 17:38:34 -06:00
shygoo 7a1dd3835b [Debugger] Add GPR read/write breakpoints 2019-01-20 02:52:49 -06:00
shygoo 98e933be1b [Debugger] CPU Log: More UI behavior improvements 2019-01-19 14:14:26 -06:00
zilmar 557892e47e
Merge pull request #1556 from shygoo2/cmds-fix-addr-textbox
[Debugger] Commands: Update address textbox when address is changed
2019-01-18 15:29:30 +10:30
shygoo 6b34e8f77c [Debugger] Add CPU exception breakpoint window 2019-01-17 03:34:24 -06:00
shygoo 26151f1d9e [Debugger] Commands: Update address textbox when address is changed 2019-01-16 14:06:33 -06:00
shygoo 42613f96e1 [Debugger] CPU Log: fix mousewheel scrolling 2019-01-14 23:19:28 -06:00
shygoo 12b97b83d8 [Debugger] CPU Log: fix wrong indeces after scrolling 2019-01-14 05:11:15 -06:00