Commit Graph

224 Commits

Author SHA1 Message Date
Derek "Turtle" Roe 949f99c415 Update Debugger-DMALogView.cpp
Fix capitalization, add a line, add newline
2021-03-17 22:58:17 -05:00
Derek "Turtle" Roe 743158c37b Update Symbols.h
Add newline
2021-03-17 22:58:17 -05:00
Derek "Turtle" Roe f802892277 Update ScriptSystem.h
Fix capitalization and add newline
2021-03-17 22:58:17 -05:00
Derek "Turtle" Roe e64c00b49e Update ScriptSystem.cpp
Fix capitalization
2021-03-17 22:58:17 -05:00
Derek "Turtle" Roe ae24c9e1e4 Update ScriptHook.h
Change multiline comments into single line comments
2021-03-17 22:58:17 -05:00
Derek "Turtle" Roe e6b9802a60 Update ScriptHook.cpp
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 314efb2da6 Update DMALog.h
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe de2b88ca7e Update DMALog.cpp
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 3e9ea5be8c Update DebuggerUI.h
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 9ec67ea6f5 Update Debugger-ViewMemory.h
Remove extra line
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 409ca3b520 Update Debugger-Symbols.h
Fix TODO comment
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe b7799663ca Update Debugger-StackView.h
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe c0a539c802 Update Debugger-StackView.cpp
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 0879ff0d35 Update Debugger-StackTrace.h
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe f52cf3a8b1 Update Debugger-StackTrace.cpp
Fix title case and add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 5682b9d5b7 Update Debugger-Scripts.cpp
Fix title case and capitalization
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 1755dedff6 Update Debugger-RegisterTabs.h
Fix capitalization, add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe b29be48a88 Update Debugger-RegisterTabData.h
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 58802684b1 Update Debugger-MemorySearch.h
Remove unnecessary comments, fix title case and abbreviations, fix wording
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe e92a29493e Update Debugger-MemoryDump.cpp
Fix title case, add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe c0bd0dba2e Update Debugger-ExceptionBreakpoints.cpp
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 7a439e5f7e Update Debugger-CPULogView.cpp
Change wording
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 33fed55835 Update Debugger-AddSymbol.cpp
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe f8efc67258 Update Debugger-AddBreakpoint.h
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 5f2dc84981 Update Debugger-AddBreakpoint.cpp
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe fba5dda943 Update DebugDialog.h
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 23df501cc8 Update CPULog.cpp
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe c4ac46b501 Update Breakpoints.h
Add newline
2021-03-17 22:58:16 -05:00
Derek "Turtle" Roe 45d4e9fc4e Update Assembler.h
Fix title case
2021-03-17 22:58:16 -05:00
zilmar 5c60ea213f Update copyright date 2021-03-02 12:43:17 +10:30
Vincent Cunningham dcb360cf41
Replace \ with / in include directives 2021-02-28 17:38:56 -05:00
zilmar cd16a8cc48 Clean up some warnings 2021-01-19 16:28:59 +10:30
zilmar 4a4b0b2e33
Merge pull request #1885 from shygoo/script-ui
[Debugger] Improve script window
2020-12-19 07:37:23 +10:30
shygoo 9e825992ae [Debugger] Fix script window's copy button 2020-12-18 14:21:49 -06:00
shygoo 7ca05cde8a [Debugger] Add tooltips to scripts window 2020-12-18 14:15:16 -06:00
shygoo 033d9b8327 [Debugger] Improve script window UI/stability 2020-12-18 13:57:50 -06:00
shygoo fdb6b25b39 [Debugger] Add basic multi-line support to code editor 2020-12-17 13:30:28 -06:00
shygoo 5888929cac [Debugger] Fix execution breakpoint toggle from context menu 2020-12-17 10:50:09 -06:00
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
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