Commit Graph

136 Commits

Author SHA1 Message Date
zilmar 372da9526f
Merge pull request #1871 from shygoo/dma-log-export
[Debugger] Implement DMA log export (fix #1858)
2020-11-18 06:46:29 +10:30
shygoo c47af62f56 fix build error 2020-11-17 12:17:31 -06:00
shygoo 3a1b870c44 [Debugger] Implement DMA log export (fix #1858) 2020-11-17 11:57:21 -06:00
shygoo 1f6b0140c9 [Debugger] Add missing cop1 cvt ops to assembler, remove constexprs 2020-10-26 12:01:21 -05:00
zilmar 883632b4a4 Project64: Add choosing game dir on welcome screen 2020-08-04 22:28:40 +09:30
shygoo 564e1bb938 [Debugger] Fix string search 2020-06-18 21:03:21 -05:00
m000z0rz 9b9ab2af75 Fix script hanging when you stop a script with open listeners 2020-05-20 12:39:30 -05:00
m000z0rz 82716b247b Prevent stack overflow by popping the pcall return value / error 2020-05-20 12:10:42 -05:00
zilmar dd80e7cad1
Merge pull request #1753 from shygoo/fix-dmalogsig
[Debugger] Fix DMA log signature byte order
2020-05-20 06:28:50 +09:30
shygoo 7b005f709f [Debugger] Fix DMA log signature byte order 2020-05-19 11:51:27 -05:00
shygoo 94af698aa6 [Debugger] Fix COpInfo::IsLoadCommand false positives 2020-05-19 11:40:53 -05:00
zilmar 0462f637c4 Add UNICODE to Project64 project 2020-05-12 21:49:05 +09:30
Drahsid 1fb7598e03 Fixed incorrect display of vector values in symbols window 2020-05-05 09:39:43 -04:00
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