Commit Graph

906 Commits

Author SHA1 Message Date
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
Martin
5e62cd71d1 Debugger: Improve Thread-Name display. Add support for thread name from GDB (only recent gdb versions) 2024-01-20 16:14:57 +01:00
Martin
0f47ec3b2a Debugger: fixes for ThreadNum 2024-01-20 16:14:57 +01:00
Martin
fd792b5d6f LazDebuggerFp: Don't set breakpoints when the debug session is already over 2024-01-19 15:47:14 +01:00
Martin
8ed6d90eb1 Ide,FpDebug: In FpDebug add a thread number (order of first occurrence). In the IDE, prefix the ID with the number. 2024-01-18 22:21:39 +01:00
Martin
aefe523c1e LazDebuggerFpLldb: fix mem-leak (MemModel) 2024-01-16 17:33:57 +01:00
ccrause
c327f03044 Move IsReadableLoc and IsReadableMem to MemModel. 2024-01-14 19:29:13 +01:00
ccrause
3ecbb52069 Updated MemModel structure. 2024-01-14 19:29:12 +01:00
Martin
5c6662f3e7 FpDebug: Add comparing enum-values in watches "enum1 >= enum2" 2023-12-30 20:03:06 +01:00
Martin
c2e59c7885 FpDebug,LazDebugger: changes to MemManager to allow avr-read-register-as-address 2023-12-12 13:15:32 +01:00
Martin
5efaac3f2f FpDebug: find symbol for fpc_raiseexception (and similar) independent of case. 2023-12-04 02:19:00 +01:00
Martin
53474705c4 FpDebug: check error in expressions, when new dbg-values are created. 2023-12-02 16:33:37 +01:00
Martin
8208144cdf FpDebug: test ".." intrinsic operator / Fix error checking 2023-12-02 01:10:39 +01:00
Martin
b97a9b80a1 FpDebug: fix disassembler DPPD... / Issue #40567 patch by Red_prig (Pavel) 2023-10-30 18:26:14 +01:00
Martin
c53355182a LazDebuggerLldb: improved parsing of exception class after fpc_raiseexception. lldb may send \U00000012TClassFooBar 2023-10-16 13:53:15 +02:00
Martin
cecc5ee87d FpDebug: fix disassembler pause,psrldq,extrq... Issue #40555, #40557, #40558 patch by Red_prig (Pavel) 2023-10-15 18:32:30 +02:00
Martin
62e7f5665a FpDebug: fix disassembler vmov.. Issue #40552 patch by Red_prig (Pavel) 2023-10-13 20:28:50 +02:00
Martin
9cff61c5a0 FpDebug: fix disassembler vzero... / test reg.l Issue #40546 and #40549 patch by Red_prig (Pavel) 2023-10-13 13:34:54 +02:00
Martin
07025f3b9c LazDebugger[Fp]Lldb: fix for new Apple-LLDB version. Read new format for eval results (e.g. exception data) 2023-10-10 19:26:48 +02:00
Martin
67069ef84b FpDebug: fix disassembler movq/vmovq Issue #40541 patch by Red_prig (Pavel) 2023-10-09 18:33:52 +02:00
Martin
bacefb51ae LazDebuggerFp: Fixed line number for exceptions. 2023-10-08 13:32:37 +02:00
Martin
32ea407ca3 FpDebug: fix file locations in stack / don't use absolute path, files may have been pre-build in a different location (build vs install dir). 2023-10-03 19:40:03 +02:00
Martin
710fa6f135 FpDebug: fix disassembler "vround"/"vmovm" Issue #40525 #40524 patch by Red_prig (Pavel) 2023-10-02 11:56:23 +02:00
Martin
4cd413a986 FpDebug: fix disassembler "xadd 16bit reg" Issue #40520 patch by Red_prig (Pavel) 2023-09-26 09:03:35 +02:00
mattias
c5bc78b070 updated makefiles 2023-09-03 17:11:29 +02:00
mattias
8d92e3b67d updated makefiles 2023-08-14 20:31:20 +02:00
mattias
cbe5f931fa makefiles: fixed order, split packages in folder components into categories lazbuildpackages, lazbuildlclpackages, idepackages 2023-08-14 16:46:31 +02:00
Martin
c7cef13c39 LazDebuggerFp, test: add alias AnsiChar for Char 2023-07-27 17:41:46 +02:00
Martin
d3c5d91ce9 Debugger: Implement changing breakpoint location (line num in brk-property dialog).
- Update source editor marks
- Update FpDebug
2023-07-27 17:41:46 +02:00
Martin
0e1f76f481 LazDebuggerFp: Fix removing breakpoint, while thread-worker is still setting it. (possible race condition) 2023-07-27 17:41:45 +02:00
Martin
ae263321c1 REVERT: 41adb276bb "Remove obsolete checks for FPC versions earlier then 3.0."
- Not obsolete for the testcase
2023-07-27 12:55:31 +02:00
mattias
79893d2cbe updated makefiles 2023-07-14 16:42:45 +02:00
Juha
41adb276bb Remove obsolete checks for FPC versions earlier then 3.0. 2023-07-07 17:39:02 +03:00
mattias
ae9ab00109 updated Makefiles 2023-06-30 20:50:27 +02:00
mattias
fde0e0f965 set main version to 3.99 2023-06-25 17:47:14 +02:00
Martin
c5cddde52e FpDebug: allow starting debugger with Step-in/over 2023-06-20 18:09:10 +02:00
Martin
a2d87ebd69 Ide, Debugger: Check if debugger action is available if requested by key-stroke (don't send step-over to a not yet running FpDebug) 2023-06-20 17:29:26 +02:00
Martin
91c776aade FpDebug: Start improve/fix function calls. Detect params of type P(W)Char. / Stricter testing for matching arguments. 2023-06-20 00:34:04 +02:00
Martin
b7ff978c70 FpDebug: fix mem-leak, if string looks like json, but is not. 2023-06-20 00:34:03 +02:00
Martin
aa389e7e47 FpDebug: fix constant char 'a' as array index. Amend Precedence for [n..m] 2023-06-18 16:03:12 +02:00
Juha
e045ba01d2 Remove units from uses sections, especially LCLProc which now contains many wrappers to other non-LCL units. 2023-06-18 14:57:06 +03:00
mattias
3a13fbf259 updated makefiles 2023-06-11 23:20:56 +02:00
Martin
f9dd45a157 LazDebuggerFpGdbmi: Add option for IntrinsicPrefix and "modeswitch AutoDeref" . 2023-06-08 16:04:09 +02:00
Martin
315be6c5e1 LazDebuggerFpLldb: Add option for IntrinsicPrefix and "modeswitch AutoDeref" . 2023-06-08 16:04:09 +02:00
Martin
1f70742be3 LazDebuggerFp, FpDebug: Add option to support "modeswitch AutoDeref" access of values. 2023-06-08 16:04:09 +02:00
Martin
62e692fc24 LazDebuggerFp, FpDebug: Add option to support "modeswitch AutoDeref" access of values. 2023-06-08 14:57:12 +02:00
Martin
63a4789e76 FpDebug: implement typecast TFooRecord(ordinal) for matching data-sizes. 2023-06-06 14:06:20 +02:00
Martin
6228dce2f2 FpLLDBDebugger: remove "beta" remark 2023-06-01 19:57:41 +02:00
Martin
044ee4f0bc LazDebuggerFp: load line info (blue dots) for libraries 2023-05-27 13:19:33 +02:00
Martin
55fcc1e210 FpDebug: tests, fix compile utf8 data 2023-05-27 10:18:41 +02:00
Martin
81b8660cb1 FpDebug: tests, increase timeout 2023-05-27 10:18:41 +02:00
Martin
acfb46b466 FpDebug: test, fix test / ignore load-lib events in count (test for debug loop re-started unexpectedly) 2023-05-27 10:18:41 +02:00
Martin
8ac62b7b82 FpDebug: test, fix compile test-app on linux 2023-05-27 10:18:40 +02:00
mattias
7bc5b63fbb updated makefiles 2023-05-27 02:07:12 +02:00
Martin
3a74b7fa79 FpDebug: tests, increase timeout 2023-05-26 14:05:17 +02:00