Commit graph

40 commits

Author SHA1 Message Date
Sour b8a0a7a59b Debugger: Fixed modulo operator in expressions 2020-05-19 21:55:43 -04:00
Sour bafd73f186 Debugger: Added aliases for each CPU flag in expressions 2020-04-18 18:17:46 -04:00
Sour 1ff7ed7b8c Debugger: Ability to define assert statements in comments 2020-04-18 17:55:35 -04:00
Sour 74e8f39ea1 Debugger: Fixed debug mode assert for expression evaluation caused by changes to how internal RAM mirroring is handled in debug tools 2020-02-23 11:39:31 -05:00
Sour 38b50f016f Study Box: Fixed incorrect mappings and fixed the display for 4400-4FFF in the debugger window
(+ fixed some debug warnings)
2019-11-23 21:40:13 -05:00
Sour 7041ec7682 Linux: Fixed compilation warnings/errors with GCC/clang 2019-11-13 18:30:05 -05:00
Sour bc335e104d Debugger: Added ":" operator to return an address' offset in prg/sram/wram/etc. 2019-11-04 20:16:20 -05:00
Sour 3b0216ad4b Debugger: Expressions - Added support for binary
+ Made expression checking a bit better still
2019-01-29 19:15:57 -05:00
Sour ddbee6b500 Debugger: Improve validation of expressions (force operator after closing brackets/etc) 2019-01-29 18:55:40 -05:00
Sour 17c629e90c Debugger: Fixed expression evaluator caching the result of invalid expressions (when an unknown label is used, etc.)
This caused the watch window to permanently display "Invalid expression" for a label that was evaluated and cached before it was created, even after the label is created.
2019-01-29 18:32:17 -05:00
Sour 8293382024 Debugger: Added more values for expressions (Sprite0Hit, Branched, etc.) 2019-01-19 20:41:31 -05:00
Sour a67003b347 Debugger: Fixed expression evaluation when using multi-byte labels
+ Added "label out of scope" message for watch expressions using labels that can't be evaluated right now (but are valid labels)
2019-01-16 19:07:50 -05:00
Sour 70ca31e560 Fixed compilation warnings 2019-01-11 21:20:26 -05:00
Sour 2da8c70482 Debugger: Fixed issues with unary operators in expression evaluation
Also fixes issues with some operator combinations (e.g: && followed by !) and adds basic unit tests to simplify regression testing in the future
2019-01-06 18:41:43 -05:00
Sour 35192daeed Debugger: Add option to trigger breakpoints on dummy read/writes (+ distinguish between writes & dummy writes) 2018-12-23 13:12:46 -05:00
Sour 1a7f07cff5 Debugger: Fixed issues with using labels in breakpoint conditions 2018-08-02 20:44:48 -04:00
Sour 669113710a Linux: Fixed warnings (and enabled no-parentheses warning) 2018-06-25 15:13:32 -04:00
Sour 9bd04c6535 Debugger: Fixed issues with expression evaluator when using braces/parenthesis/brackets 2018-02-20 20:04:43 -05:00
Sour bd066dd7b9 Debugger: Fixed binary OR and binary XOR in expressions (their behavior was inverted) 2017-12-29 22:11:16 -05:00
Sour 3fdc000a3d Debugger: Properly support division by 0 in expressions 2017-12-29 22:08:50 -05:00
Sour 6717520cb3 Debugger: Allow labels with @ marks in the watch window 2017-12-21 15:19:57 -05:00
Souryo 5957bc2d3e Debugger: LUA scripting 2017-08-30 18:31:27 -04:00
Souryo 2753273206 Debugger: Added conditional logging to trace logger 2017-08-05 12:13:53 -04:00
Souryo 14a27bb18a Debugger: Added a few aliases (PC, OpPC, Frame) 2017-04-30 20:40:09 -04:00
Souryo 485e8cc2ce Debugger: Added tile editor feature in PPU viewer 2017-03-04 21:52:08 -05:00
Souryo 4f6776f30b Debugger: Performance fixes for conditional breakpoints 2017-03-03 21:03:20 -05:00
Souryo cbc61a1bac Fixed all GCC errors and most warnings 2016-12-11 10:56:23 -05:00
Souryo c317179afc Debugger: Fixed emulator crash when entering some invalid watch/debug expressions 2016-12-10 15:18:50 -05:00
Souryo 80bd7d0b3e Debugger: Performance improvements, code refactoring & code display changes/fixes 2016-11-26 10:42:59 -05:00
Souryo 75899fe8d3 Debugger: Exp evaluator - removed cache for expressions that contain labels (too complex to cache) and fixed a few bugs with work/save/internal ram 2016-11-22 23:14:38 -05:00
Souryo 512e37c6af Debugger: Labels/comments now work with built-in ram, work ram and save ram 2016-11-22 22:38:14 -05:00
Souryo 502cc47c70 Debugger: Prevent potential deadlock when closing debugger if using conditional breakpoints 2016-11-22 18:58:03 -05:00
Souryo 3751711f17 Debugger: Allow code labels to be used in watch/breakpoint expressions 2016-11-22 18:28:59 -05:00
Souryo d4b9bd982e Debugger: Added way to load word values into watch/breakpoint conditions. Also fixed issues with unary operators with ExpressionEvaluator 2016-11-22 16:56:23 -05:00
Souryo c1fb8f1ac1 Debugger: Fixed "address"/"romaddress" breakpoint condition value when using addresses outside cart's PRG ROM 2016-10-23 09:02:06 -04:00
Souryo 966cbf6976 Removed warnings 2016-06-05 15:04:25 -04:00
Souryo 956834d4a5 Debugger: Improved expression evaluator when dealing with memory addresses + added "address" and "romaddress" special values 2016-06-05 11:51:46 -04:00
Souryo e210d267d8 Debugger: Fixed some deadlocks when pausing/resetting/changing game, fixed breakpoints not being remembered after a reset 2016-06-04 08:55:52 -04:00
Souryo 9658597e9f Debugger: Improved watch window (now allows expressions like conditional breakpoints) 2016-01-10 13:23:19 -05:00
Souryo a0d6e2d547 Debugger breakpoint improvements (Conditional breaks, vram breaks, absolute address breaks, etc.) 2016-01-09 13:15:43 -05:00