Commit Graph

409 Commits

Author SHA1 Message Date
Martin
dd89fc14e1 LazDebuggerFp: fixed crash in callstack / dangling pointer 2022-06-23 17:22:23 +02:00
Martin
b95d4d491a Debugger: allow calling SysVarToLStr - fix handling watch-property settings 2022-06-23 15:00:32 +02:00
Martin
131d1062df Debugger: allow calling SysVarToLStr for variants (via user defined type-names) 2022-06-23 13:54:18 +02:00
Martin
f606986f1b LazDebuggerFp, FpDebug: Enable watch-eval calling functions with records as param (Win-64/32 / Linux-64) 2022-06-21 00:29:07 +02:00
Martin
b014798858 LazDebuggerFp, FpDebug: Enable watch-eval calling function with strings as param/result (only DWARF 3 / up) 2022-06-21 00:29:07 +02:00
Martin
ae8bbb1cd6 FpDebug: Refactor TFpDbgInfoCallContext (add "AddParam" / remove Dbg-Process from "CreateParamSymbol") 2022-06-21 00:06:04 +02:00
Martin
90453ce72b Debugger: Inspect-Win, implement paging for large arrays 2022-06-12 22:14:12 +02:00
Martin
1328b8a1ab FpDebug: tests 2022-06-12 22:14:12 +02:00
Martin
0b051af509 IDE, FpDebug: evaluate more sub-items for Inspect Dialog. 2022-06-12 22:14:12 +02:00
Martin
e7b23f98d0 LazDebuggerIntf, FpDebug: add array and structure types 2022-06-09 17:46:23 +02:00
Martin
464d077fd4 DebuggerIntf, FpDebug: add PChar vs String 2022-06-07 00:35:59 +02:00
Martin
99495ba51a FpDebugDebugger: fix retrieving stack without limit (fix copy stack to clipboard) 2022-06-04 23:06:11 +02:00
mattias
9e762cde89 udpated makefiles 2022-05-29 19:34:19 +02:00
Martin
76d9771c34 Debugger: More LazDebuggerIntf. Add/Improve numeric, pointer, float and string watches 2022-03-24 00:39:04 +01:00
Martin
8d3d08ae4c Debugger: Moved dsState to new unit 2022-03-24 00:39:03 +01:00
Martin
e33da7bf02 LazDebuggerFp: Fix watches test. It was accidentally limited to a single sub-test in a37d077199 2022-03-24 00:39:03 +01:00
Martin
4f8efdd21f FpDebug: fix warnings. 2022-03-24 00:39:03 +01:00
Martin
0e6769ac99 FpDebug, LazDebuggerFp: Implement tracking modified CPU registers (top stack-frame only) 2022-02-25 20:25:01 +01:00
mattias
26c9421318 updated Makefiles 2022-02-24 12:55:45 +01:00
Martin
d38a268f3d FpDebug: Win64, Fix "Run (F9)" incorrectly triggered watch/stack updates while the app was running.
Similar to the Win32 fix at a92db946ec
2022-02-22 01:01:40 +01:00
Martin
dce19de110 FpDebug: Disassembler, start disassembling at begin of current function. Add limit, how far back the begin is allowed to be 2022-02-09 16:42:27 +01:00
Martin
d56774da57 FpDebug: Disassembler, start disassembling at begin of current function, to provide some LinesBefore 2022-02-09 15:39:27 +01:00
Martin
e19b911ab7 FpDebug: Disassembler, fix SrcStatementCount / read-mem, if size is too large 2022-02-09 15:39:27 +01:00
Martin
d7b9ebb6dc FpDebug: Trigger "Changed" after adding dis-assembled ranges. Fixes scrolling down in frontend. 2022-02-09 15:39:27 +01:00
Martin
a37d077199 Debugger: Update LazDebuggerFp testcase for new LazDebuggerIntf / SetNumValue 2022-02-01 17:18:20 +01:00
Martin
8e3c816593 Debugger, LazDebuggerIntf: Introduce SetNumValue and SetTypeName 2022-02-01 17:18:20 +01:00
Martin
442f57cf49 LazDebuggerFp: Handle WatchValue in thread 2022-02-01 17:18:20 +01:00
mattias
e8b2d0f821 lazdebuggers: fixed compile linux 2022-01-16 21:48:49 +01:00
Martin
a92db946ec FpDebug: Win32, Fix "Run (F9)" incorrectly triggered watch/stack updates while the app was still running (slowing execution). 2022-01-16 17:06:31 +01:00
Martin
6d0ddd50bd FpDebug, test: Add build mode for $DEFINE TEST_FPDEBUG_SINGLE_THREAD 2022-01-10 14:08:38 +01:00
Martin
2fa72c8755 LazDebuggerFp: Check callback is assigned. 2022-01-10 14:08:38 +01:00
Martin
d1ac568e96 Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
Martin
aa45837b87 IdeDebugger: New Package IdeDebugger. Move some classes from DebuggerIntf 2022-01-10 14:08:36 +01:00
Martin
7f9e1893d2 Rename TDBGEvaluateFlag to TWatcheEvaluateFlag 2022-01-10 14:08:35 +01:00
Martin
6b95ef242c IDE, Debugger-Intf: Hide Monitor property for Callstack, Threads 2022-01-09 01:13:55 +01:00
Martin
2b5f264ede IDE, Debugger-Intf: Clean-up, Move Locals list from DbgIntf to IDE 2022-01-09 01:13:55 +01:00
Martin
717ec4887d IDE, Debugger-Intf: Clean-up, Move Watches list from DbgIntf to IDE 2022-01-09 01:13:55 +01:00
Martin
bfcd8fc293 LazDebuggerFp: More stepping tests 2021-12-12 21:00:28 +01:00
Martin
a1c6e559e1 LazDebuggerFp: Cleanup compiler hints 2021-12-12 21:00:27 +01:00
Martin
6e5c00bb59 LazDebuggerFp: Handle Win32-SEH for step-in/out/over 2021-12-12 21:00:27 +01:00
Martin
4490c1f5a5 LazDebuggerFp: ifdef win64 code 2021-12-12 21:00:22 +01:00
Martin
97c29d9540 LazDebuggerFp: Added safety measures for single stepping (Win64 SEH) 2021-12-12 21:00:22 +01:00
Martin
4c78791096 LazDebuggerFp: catch exceptions in Application.ProcessMessages 2021-12-12 21:00:22 +01:00
Martin
c33019c14b LazDebugger: Fix, ensure DefaultContext is available. Broken in e618b09804 2021-12-10 00:29:26 +01:00
Martin
4548d90a7f LazDebuggerFp: Win64 - catch finally handlers, if the "try" block was entered via breakpoint (not stepped into) *and* left via "exit". 2021-12-09 18:17:57 +01:00
Martin
c90fb08f85 LazDebuggerFp: Win64 -Monitor RtlRestoreContext to catch more unwind cases. 2021-12-09 18:17:56 +01:00
Martin
269079e11a LazDebuggerFp, Tests: Ensure the debugger does not break out of ProcessLoop, unless it is done. 2021-12-09 18:17:56 +01:00
Martin
280d99664e LazDebuggerFp, Tests: Ensure the debugger does not go into unwanted dsInternalPause 2021-12-09 18:17:56 +01:00
Martin
e618b09804 LazDebuggerFp: Fix Stepping and threads / Ensure loop exits with correct EventType 2021-12-09 18:17:56 +01:00
Martin
54d2e1f159 FpDebug: "Run To" command to find the next line with code. (Step over to, does not yet) 2021-12-07 20:35:49 +01:00