Commit Graph

860 Commits

Author SHA1 Message Date
Martin
baa905dd96 FpDebug: fixes for DW_TAG_string_type 2024-05-22 12:12:11 +02:00
Martin
b593ba42f3 Debugger: test-base, handle calls to event logger 2024-05-19 13:44:09 +02:00
Martin
282e6a369d FpDebug: test, fix test code for WatchValuePrg 2024-05-19 13:44:08 +02:00
Martin
c8962f2243 FpDebug: test, refactor test code, so it can be compiled using the llvm backend 2024-05-19 13:44:07 +02:00
Martin
da18a60294 Debugger: fix tests 2024-05-18 18:01:21 +02:00
Martin
5114026173 Debugger: fix compiling tests 2024-05-18 13:17:57 +02:00
Martin
06f123d8dd LazDebuggerFp: fixed range check / added safety check for string len (exception msg/name). 2024-05-09 21:00:38 +02:00
Martin
ee125ebe32 IdeDebugger: Value-formatters, match expression/name 2024-04-27 18:56:30 +02:00
Martin
73cb3d87f4 LazDebuggerFp: avoid calling QuickPause twice. 2024-04-21 19:36:49 +02:00
Martin
7d11cc3fe8 LazDebuggerFp, FpDebug: Handle multipl-breakpoint at the same address. 2024-04-21 16:59:09 +02:00
Martin
0b2c6bd8fa FpDebug: Allow breakpoints on lines without code (search up to N lines below). 2024-04-21 16:59:08 +02:00
Martin
ac0faad39a LazDebuggerFp: fix "variant" converter for dwarf-2 2024-04-21 11:30:04 +02:00
Martin
442dfce7a8 IdeDebugger: add ValueFormatter to watch properties 2024-04-18 14:32:31 +02:00
Martin
db75236351 FpDebug: force asm window, when explicitly stopping in no-source-code area (breakpoint, or "step-out") 2024-04-11 17:11:00 +02:00
Martin
82cda34b48 FpDebug, test: update for 3.3.1 2024-03-20 19:45:07 +01:00
Martin
a9ecef9ad2 LazDebuggerFp: defer destroying internal breakpoints, so they don't access any pending TDbgThreads (try getting instruction pointer) 2024-03-18 15:52:53 +01:00
Martin
34a5fe0392 Debugger, Test: don't get current location when not paused 2024-03-18 15:52:33 +01:00
Martin
6aa6ea6983 Ide, Debugger, FpDebug: Implement StdIn/StdOut file redirection. Issue #40458 2024-03-18 14:01:44 +01:00
Martin
f6bc1ee84e FpDebug: x86-disassembler: test 2024-03-15 16:29:18 +01:00
Martin
a005719185 FpDebug: x86-disassembler: fix vcvtph2ps Issue #40837 2024-03-15 16:18:10 +01:00
Martin
0ad56931a0 FpDebug: x86-disassembler: fix pextr/vpextr Issue #40842 2024-03-14 18:56:13 +01:00
Martin
08a139d30e FpDebug: x86-disassembler: fix pmovzx/pmovsx/vpmovzx/vpmovsx Issue #40844 2024-03-14 18:56:12 +01:00
Martin
4fd8e89e60 FpDebug: x86-disassembler: fix popcnt,bsf,tzcnt,bsr,lzcnt Issue #40843 2024-03-14 18:56:12 +01:00
ccrause
5b4f7aa9f4 Only change MemManagager and MemModel for target AVR 2024-03-12 19:18:49 +00:00
ccrause
c6781743e8 fpdebug - Add xtensa support 2024-03-12 19:18:49 +00:00
mattias
e64d6ed431 lazdebuggers: less hints 2024-03-05 15:44:33 +01:00
mattias
3ec604cc99 lazdebuggers: less hints 2024-03-05 15:13:09 +01:00
Martin
b471a2961e FpDebug: fix memleak when detaching from process. 2024-03-02 18:38:17 +01:00
ccrause
d30cfb0a95 Ensure ErrNo is within the limits of Integer to prevent range error when ReadUnsignedInt returns false. 2024-02-28 21:07:11 +01:00
ccrause
0375bb8ae9 Add InternalExceptionBreakPoints property to LazDebuggerFp properties. 2024-02-28 21:07:11 +01:00
Martin
3149c5261f Debugger: New DisplayFormat for Watches 2024-02-28 18:49:19 +01:00
Martin
8b491579a1 Debugger: Replace TWatchValue.DisplayFormat with TWatchValue.IsMemDump. All other DisplayFormat settings are on TWatch only. 2024-02-28 17:42:00 +01:00
Martin
adc63a1a42 Debugger: Remove IDbgWatchValueIntf.Value in favour of IDbgWatchValueIntf.ResData.CreatePrePrinted 2024-02-28 17:42:00 +01:00
Martin
8117ca5a5d LazDebugger: Remove TWatchDisplayFormat from debugger backends. 2024-02-28 00:52:45 +01:00
Martin
be387c3f21 FpDebug: Remove TWatchDisplayFormat from PascalBuilder 2024-02-28 00:52:45 +01:00
Martin
e183ea0b5f Debuggers: Add define FORCE_LAZLOGGER_DUMMY 2024-02-28 00:52:43 +01:00
Martin
bf4f462b46 LazDebuggerFp: improved tests 2024-02-18 20:58:52 +01:00
Martin
5aac59d315 DebuggerTestBase: compile test case with older fpc 2024-02-18 20:58:51 +01:00
Martin
021178a42a LazDebuggerIntf: fix #40762 2024-02-14 18:02:30 +01:00
Martin
b1d880be64 LazDebuggerFp: Remove duplicated RemoveAsync 2024-02-14 17:56:27 +01:00
Martin
b1a91a2333 LazDebuggerFp: further fix reading pty for console window. Remove dangling async call before destroying object. 2024-02-14 17:35:30 +01:00
Martin
e9099ab0e8 FpDebug: further fix reading pty for console window. 2024-02-13 22:31:28 +01:00
Martin
e72f2533e7 Fix compilation of tests 2024-02-13 10:46:07 +01:00
Martin
f484609410 Fix build with fpc < 3.2.3 2024-02-10 21:24:41 +01:00
Martin
5892e97e99 IDE, Debugger: Value-Formatter 2024-02-10 20:57:59 +01:00
Martin
ee63ab1fbf DebuggerIntf: Spelling 2024-02-10 20:51:32 +01:00
Martin
efcbc7a685 FpDebug,IDE: Windows, Implement Position and Size for console and default-pos Forms - via Run-Params 2024-01-27 21:19:25 +01:00
Martin
2f1fbf3286 FpDebug: return dfNotSuitableForOsArch for non Intel 2024-01-27 21:19:25 +01:00
Martin
c4483bf7f4 LazDebuggerFpLldb: fixed watch-eval for Mac-M2, if stackwindow is closed. (register PC for M2) 2024-01-21 00:31:18 +01:00
Martin
972de7f404 LazDebuggerFp: fix stepping over try Window/Kernel.RaiseException except end 2024-01-20 16:14:57 +01:00