Commit Graph

734 Commits

Author SHA1 Message Date
Martin
0278edaea3 FpDebug: add workaround to prevent the IDE from creating empty/wrong Dbg-LineMaps (mapping all lines to zero) 2023-02-16 16:39:03 +01:00
Martin
04b384b34d FpDebug: Set breakpoints in libraries (dll/so). Update existing breakpoints when library is loaded. Add state (ok, fail, pending) to breakpoints. 2023-02-16 16:39:03 +01:00
Martin
5d091f5d5b FpDebug: Refactor breakpoints, move unit+line (or proc-name) to DpDebug. Change default scope to search all already loaded libraries. 2023-02-16 16:39:02 +01:00
Martin
f86112c649 FpDebug: Added support for DW_AT_entry_pc. Implemented <func>.EntryPCAddress to return the entry-point. 2023-02-12 18:50:28 +01:00
Martin
7f0efea9ae FpDebug: tests, fix logging / add timing 2023-02-06 10:55:45 +01:00
Martin
80ef1fb668 FpDebug: Testcases, increase some timeouts 2023-01-24 18:03:16 +01:00
Martin
dd4626b9ea FpDebug: better detection of prologue in Win-SEH finally handler. (fix step into finally for fpc > 3.3.1) 2023-01-21 12:26:52 +01:00
Martin
d31003464a LazDebuggerFp: remove int3 when conditional breakpoint is getting disabled/inactive. (used to wait until condition was true) 2023-01-09 17:08:14 +01:00
Martin
3ea1675362 FpDebug: Fix test for "step over". non-breaking breakpoints no longer cause an internal pause 2023-01-09 16:46:53 +01:00
Martin
319649fbe6 Debugger: Check quality of debugger in setup 2023-01-08 04:48:14 +01:00
Martin
c7de909539 Debugger: Add dfNotSuitableForOsArch, to filter out unusable backends 2023-01-08 04:36:59 +01:00
Martin
8cd89c5af8 Debugger: Moved backend registration to initialization section 2023-01-08 04:36:58 +01:00
Martin
cc31d7752a FpDebug: fix watching fields in "old style" objects 2022-12-07 01:44:51 +01:00
Martin
55f314c9ac FpDebug: Fix subtraction for some pointers / Fix type-info for @char, so minus considers them compatible. 2022-12-06 00:15:34 +01:00
Martin
4c879cc73c FpDebug: Fix disassembler operand size for $a3 "move [...], reg" 2022-12-02 03:19:38 +01:00
Martin
a9cb3d0967 LazDebuggerFp: add feedback if "modify watch" failed. 2022-12-02 01:03:44 +01:00
mattias
6671244b72 updated makefiles, fixed compile fpdebug with fpc 3.2.2 2022-11-13 13:23:46 +01:00
Martin
efc94ab2db LazDebuggerFp: fix mem leak in TFPBreakpoint.ThreadLogExpression 2022-10-23 13:18:00 +02:00
Martin
bf6c6ba4d9 Debugger: set default for "enable dwarf" dialog 2022-09-27 12:16:13 +02:00
Martin
9e813a6a78 FpDebug: Watch-Function-Eval, support QWord parameters on 32 bit targets 2022-09-25 19:49:42 +02:00
Martin
3ebada48d3 FpDebug: Allow more params passed to function in watch-function-eval 2022-09-23 20:28:20 +02:00
Martin
9526343e18 FpDebug: test, fix compile 2022-09-21 14:27:42 +02:00
Martin
753799d887 FpDebug: add intrinsics "Pos(SubStr, SearchStr)" and "SubStr(Str, Start, Len, DoPtr) 2022-09-18 23:48:59 +02:00
Martin
4bdc8f2702 FpDebug: add intrinsic "RefCnt()" => RefCount for AnsiString/LongString (Dwarf-3) and dyn array. 2022-09-18 23:48:59 +02:00
Martin
4910e764bb FpDebug: Improve PChar handling in pointer math. 2022-09-18 23:48:59 +02:00
Martin
88e9c521d7 FpDebug: fix watch-properties log-eval / log-stack to event window. 2022-09-14 18:15:30 +02:00
Martin
1024191ee5 Debugger: Fix breakpoint with "HitCount" do not eval stack/watches until hit-count is reached (for FpDebug backend) 2022-09-14 17:03:45 +02:00
Martin
3952e9ce2d Debugger: Run only current thread for converter function eval. Add option to run all threads. 2022-09-11 17:11:54 +02:00
Martin
069baa2497 Debugger: Run only current thread for watch function eval. Add option to run all threads. 2022-09-11 15:16:18 +02:00
Martin
45b69e8d9d Debugger: Allow to suspend/resume individual threads / only with FpDebug, only while paused - for the next run/step. 2022-09-11 03:28:53 +02:00
Martin
cbf0b6b0d6 Debugger: make ThreadState an enum 2022-09-11 02:25:23 +02:00
Martin
ddd2194c61 FpDebug: Testcase, fix mem leak 2022-09-10 21:40:28 +02:00
Martin
712b3e161d FpDebug: Fixes for watch-function-eval: allow function to ignore breakpoints set by the user. 2022-09-10 21:36:09 +02:00
Martin
26b56b74f9 FpDebug: Ensure update notification is sent after new stakc frames have been added. 2022-09-10 18:01:37 +02:00
Martin
659d6aec30 Debugger: changed default intrinsic prefic to ":" / require bracket if no prefix 2022-09-09 12:24:47 +02:00
Martin
787c6de6c0 Debugger: Backend converter. Fixed order of matching. Match from top to bottom. // Add up/down buttons to config 2022-09-07 17:09:55 +02:00
Martin
b5099c1cf4 FpDebug: Test for "Intrinsics function" length() for watches. 2022-09-07 17:09:55 +02:00
Martin
7038201fcd LazDebuggerFp: Fix sporadic "interrupts" (callstack updates) while stepping (before reaching step target) 2022-09-07 17:09:55 +02:00
Martin
116b22ed72 FpDebug: Introduce "Intrinsics functions" for watches. Add "length()" for string (dwarf-3) and array 2022-09-07 04:36:34 +02:00
Martin
deb959022e LazDebuggerFp: Additional check to ensure full count is set correctly. 2022-09-07 04:36:33 +02:00
Martin
61e5fb272a LazDebuggerFp: fix getting full Callstack.Count - Issue #39886 2022-09-06 21:28:25 +02:00
Martin
88ad421ae1 LazDebuggerFp: Add nil check in Memreader 2022-09-06 21:28:13 +02:00
Martin
7a4e58e4d3 LazDebuggerIntf: docs 2022-09-04 23:03:17 +02:00
Martin
7347d41a12 Debugger: fix crash introduced in "LazDebuggerFp: improve error handling" 2022-08-31 15:33:48 +02:00
Martin
f15e2bded5 Debugger: fix compiling testcase 2022-08-31 14:01:34 +02:00
Martin
64380b2fd2 Debugger, LLDB: reworded misleading message: "Debugger stopped" => "Process stoppend" 2022-08-31 13:18:09 +02:00
Martin
552fd1dce8 LazDebuggerFp: improve error handling 2022-08-31 02:52:34 +02:00
Martin
7fb2cbaf6c Debugger: docs / links for help 2022-08-28 21:03:39 +02:00
Martin
af214f8719 Debugger: Renamed FpConverter to BackendConverter 2022-08-28 21:00:28 +02:00
Martin
836b9a1054 Debugger: Clean up / renames 2022-08-28 20:59:52 +02:00