Commit Graph

753 Commits

Author SHA1 Message Date
Martin
0045ad70a6 FpDebug: fix incorrect loop over members "Count - 1" in variant-normalizer 2023-04-02 20:35:00 +02:00
Martin
72c61f3ae8 Debugger: added some GUID to interfaces 2023-03-30 09:47:16 +02:00
Martin
badfeecb5d Debugger: renamed several interfaces, changing "T" prefix to "I" prefix 2023-03-22 19:41:24 +01:00
Martin
afe8ba3180 LazDebuggerFp, FpDebug: Improve some error messages / Start on i18n 2023-03-21 16:41:53 +01:00
Martin
26f4160df9 Debugger: Update locals to use VirtualTree / FpDebug: return locals as new WatchResultData 2023-03-19 16:25:34 +01:00
Martin
ee4e48864e LazDebuggerFp, FpDebug: Disassembler now annotates lines with call,jmp,je,... with info on the target address. 2023-03-15 00:19:40 +01:00
Martin
42ae1a7765 LazDebuggerFp, FpDebug: deal with process-exit while watch-eval-function-call 2023-03-13 12:32:29 +01:00
Martin
db27ef882d FpDebug: clean up compile hints 2023-03-12 22:34:28 +01:00
Martin
6257b3e55f LazDebuggerFp: fix compile for 32bit 2023-03-12 09:47:52 +01:00
Martin
06d582454b LazDebuggerFp: new converter for variants (convert without function call) 2023-03-12 09:29:21 +01:00
Martin
8ae6281e61 FpDebug: implement set operator = <> >< + - 2023-03-11 12:04:20 +01:00
Martin
b8f4dbb20f LazDebugger-test: Fixed mem leak, introduced in "New interface for retrieving locals." 2023-03-02 20:55:37 +01:00
Martin
3c9f94e806 LazDebuggerFpLldb: Fixed mem leak, introduced in "New interface for retrieving locals." 2023-03-02 20:34:50 +01:00
Martin
faf2fe7a80 FpLldb-Debugger: added mem-limits 2023-03-02 20:11:47 +01:00
Martin
1caa678dcf Debugger: Clean up debugln without log_group 2023-03-02 19:56:37 +01:00
Martin
179dc59dc6 Debugger: New interface for retrieving locals. 2023-03-02 19:56:37 +01:00
Martin
20bf681e0f LazDebuggerIntf: change event signature, include data / add template 2023-03-02 19:56:37 +01:00
Martin
34d97dca1d LazDebuggerFpdServer: fix compilation 2023-03-02 19:56:36 +01:00
Martin
ad800fb2cf DebuggerIntf: clean up 2023-03-02 19:56:36 +01:00
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