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
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
552fd1dce8
LazDebuggerFp: improve error handling
2022-08-31 02:52:34 +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
Martin
d49b8782d7
FpDebugger: fix clear current command after SigSegV before pause (don't conflict with func-eval)
2022-08-23 22:44:59 +02:00
Martin
1c5a6ca5d7
FpDebugger: fix value-converters crash in array. Arrays elements must have a static type, and must not depend on the instance.
2022-08-23 16:08:21 +02:00
Martin
9147be77ec
Debugger: more moving value-converters to LazDebuggerIntf.
2022-08-23 16:08:20 +02:00
Martin
d98c10ac7d
Debugger: more moving value-converters to LazDebuggerIntf.
2022-08-23 16:08:20 +02:00
Martin
99b40ac097
Debugger: start moving value-converters to LazDebuggerIntf.
2022-08-23 16:08:15 +02:00
Martin
475d04f179
Debugger: Fix mem-leak using value-converter
2022-08-05 23:03:39 +02:00
Martin
5708b50487
amend * Debugger: Fixes To TWatchResultDat
2022-08-05 17:33:28 +02:00
Martin
683d087e36
Debugger: Fixes To TWatchResultData / introduced 2d0c2ea8ba
2022-08-05 17:33:28 +02:00
Martin
f0d0b24add
Debugger: Enable converter to match unitname for classes. "MyUnit.TFoo"
2022-08-05 02:45:01 +02:00
Martin
1c87d53199
Debugger: implement reading class.unitname from RTTI
2022-08-05 02:45:01 +02:00
Martin
6f99f0fe16
Debugger: Configuration for value converter
2022-08-05 02:44:28 +02:00
Martin
2d0c2ea8ba
Debugger: new result type for ConvertValue
2022-08-04 22:50:40 +02:00
Martin
2f4e270270
FpDebug: Windows, rewrite of "step after hitting breakpoint". Fix issues with incorrect steps (Instr-Ptr not reset) in multi thread scenario, when the int3 had been remove in the meantime.
2022-08-02 15:20:50 +02:00
Martin
48043da966
Debugger: Converter, match "*" and inheritance via "is:"
2022-08-01 18:41:17 +02:00
Martin
de03939782
LazDebuggerFp: Converter JsonForDebug
2022-07-27 01:17:36 +02:00
Martin
099c102565
FpDebug, LazDebuggerFp: more string support for function-eval / support string literals as param
2022-07-27 01:17:36 +02:00
Martin
8a0a21a7bc
LazDebuggFp,FpDebug: fix racing conditions
...
- while TDbgController.SendEvents runs in the main thread, the work-thread may run TDbgControllerCallRoutineCmd
- TDbgControllerCallRoutineCmd may run, while the main thread attempts to set the next command
- CallStack code was from before the WorkQueue was introduced. It needs a different approach. (without attempting to start a new worker)
2022-07-27 01:17:35 +02:00
martin
2fce58a3de
FpDebug: support DW_TAG_variant_part
2022-07-13 21:19:35 +02:00
Martin
4bc63f4650
LazDebuggerFp: Variant-converter, check record size.
2022-07-13 10:27:48 +02:00
Martin
fd64dddf42
Debugger: Fixes for "Add option to limit converter invocations."
2022-07-03 12:11:41 +02:00
Martin
271024d8d9
Debugger: Add option to limit converter invocations.
2022-07-03 01:54:32 +02:00
Martin
6243770298
LazDebuggerFp: reduced default limit for max array members returned. Arrays can now be paged. (and RecurseCnt can override it) / removed hardcode 1000 limit.
2022-07-03 01:54:28 +02:00
Martin
a571e61d9c
LazDebuggerFp: Add cache for common function addresses (used in watch-eval function calling), e.g. FPC_ANSISTR_DECR_REF
2022-07-01 01:06:09 +02:00
Martin
9e67808d84
LazDebuggerFp: improve errors for function calling
2022-07-01 01:06:08 +02:00
Martin
9fb4edfbe5
FpDebug: PascalParser, fixed unary minus after comma.
2022-06-30 02:30:14 +02:00
Martin
b54ac53cca
Debugger: improve SysVarToLStr - Improve error handling
2022-06-28 23:44:21 +02:00
Martin
720538be97
Debugger: improve SysVarToLStr - fix uninitialized result
2022-06-28 23:44:20 +02:00
Joost van der Sluis
62145cd833
FpDebug: Use Dwarf Call Frame Information (CFI) for stack-tracing when available. Refactored some stuff to be able to place it in a separate unit.
2022-06-28 23:09:34 +02:00
Pascal Riekenberg
2bc0a9b371
Debugger: added support for TThread.NameThreadForDebugging
2022-06-28 07:35:40 +02:00