Commit Graph

158 Commits

Author SHA1 Message Date
Martin
4c879cc73c FpDebug: Fix disassembler operand size for $a3 "move [...], reg" 2022-12-02 03:19:38 +01: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
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
ddd2194c61 FpDebug: Testcase, fix mem leak 2022-09-10 21:40:28 +02:00
Martin
659d6aec30 Debugger: changed default intrinsic prefic to ":" / require bracket if no prefix 2022-09-09 12:24:47 +02:00
Martin
b5099c1cf4 FpDebug: Test for "Intrinsics function" length() for watches. 2022-09-07 17:09:55 +02:00
Martin
f15e2bded5 Debugger: fix compiling testcase 2022-08-31 14:01:34 +02:00
Martin
d98c10ac7d Debugger: more moving value-converters to LazDebuggerIntf. 2022-08-23 16:08:20 +02:00
Martin
1c87d53199 Debugger: implement reading class.unitname from RTTI 2022-08-05 02:45:01 +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
099c102565 FpDebug, LazDebuggerFp: more string support for function-eval / support string literals as param 2022-07-27 01:17:36 +02:00
martin
2fce58a3de FpDebug: support DW_TAG_variant_part 2022-07-13 21:19:35 +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
131d1062df Debugger: allow calling SysVarToLStr for variants (via user defined type-names) 2022-06-23 13:54:18 +02:00
Martin
f606986f1b LazDebuggerFp, FpDebug: Enable watch-eval calling functions with records as param (Win-64/32 / Linux-64) 2022-06-21 00:29:07 +02:00
Martin
b014798858 LazDebuggerFp, FpDebug: Enable watch-eval calling function with strings as param/result (only DWARF 3 / up) 2022-06-21 00:29:07 +02:00
Martin
1328b8a1ab FpDebug: tests 2022-06-12 22:14:12 +02:00
Martin
e7b23f98d0 LazDebuggerIntf, FpDebug: add array and structure types 2022-06-09 17:46:23 +02:00
Martin
76d9771c34 Debugger: More LazDebuggerIntf. Add/Improve numeric, pointer, float and string watches 2022-03-24 00:39:04 +01:00
Martin
8d3d08ae4c Debugger: Moved dsState to new unit 2022-03-24 00:39:03 +01:00
Martin
e33da7bf02 LazDebuggerFp: Fix watches test. It was accidentally limited to a single sub-test in a37d077199 2022-03-24 00:39:03 +01:00
Martin
a37d077199 Debugger: Update LazDebuggerFp testcase for new LazDebuggerIntf / SetNumValue 2022-02-01 17:18:20 +01:00
Martin
6d0ddd50bd FpDebug, test: Add build mode for $DEFINE TEST_FPDEBUG_SINGLE_THREAD 2022-01-10 14:08:38 +01:00
Martin
d1ac568e96 Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
Martin
aa45837b87 IdeDebugger: New Package IdeDebugger. Move some classes from DebuggerIntf 2022-01-10 14:08:36 +01:00
Martin
bfcd8fc293 LazDebuggerFp: More stepping tests 2021-12-12 21:00:28 +01:00
Martin
269079e11a LazDebuggerFp, Tests: Ensure the debugger does not break out of ProcessLoop, unless it is done. 2021-12-09 18:17:56 +01:00
Martin
280d99664e LazDebuggerFp, Tests: Ensure the debugger does not go into unwanted dsInternalPause 2021-12-09 18:17:56 +01:00
Martin
d8188bb780 FpDebug: Show "class var" if in current context (no class/instance-name prefix). 2021-12-01 19:55:39 +01:00
Martin
32aaa9b127 FpDebug: Fix default value / fix test 2021-11-07 15:32:43 +01:00
Martin
f6d50d449f LazDebuggerFp, test: add run as console app 2021-10-01 14:31:52 +02:00
martin
6661f86edd Debugger: allow to force lazloggerbase via define
git-svn-id: trunk@65227 -
2021-06-14 07:30:45 +00:00
martin
a0035c6097 LazDebuggerFp: tests for modify watch / build modes for test
git-svn-id: trunk@65226 -
2021-06-14 07:30:39 +00:00
martin
83fc0859f9 FpDebug: Tests
git-svn-id: trunk@65184 -
2021-06-08 19:32:24 +00:00
martin
574b3a8178 LazDebuggerFp, FpDebug: Modify watches/values in target
git-svn-id: trunk@65154 -
2021-05-30 19:01:08 +00:00
martin
ce0d1a0bc8 LazDebuggerFp, FpDebug: Beta, Allow function calls in watches
git-svn-id: trunk@65151 -
2021-05-29 22:51:09 +00:00
martin
4d4db524ac FpDebug: evaluate "pointer - pointer" return int (with pointermath)
git-svn-id: trunk@65150 -
2021-05-29 22:51:06 +00:00
martin
37ed94e5eb FpDebug, test: DisAssembler testcase
git-svn-id: trunk@64993 -
2021-04-14 16:28:39 +00:00
martin
776651b5e3 FpDebug, test: DisAssembler testcase
git-svn-id: trunk@64990 -
2021-04-14 14:34:57 +00:00
martin
dee9846c86 DebuggerTests: clean up / change naming for temp exe files
git-svn-id: trunk@64540 -
2021-02-11 22:40:25 +00:00
martin
5bbf925ec5 LazDebuggerFp: Split workerthreads into new unit for code running in the thread. (Easier to see which thread may access which objects)
git-svn-id: trunk@64534 -
2021-02-11 22:40:13 +00:00
martin
20f6b975cf FpDebug: tests pointer math
git-svn-id: trunk@64401 -
2021-01-16 19:30:12 +00:00
martin
1d0df4e6e4 FpDebug: more tests for float watches
git-svn-id: trunk@64389 -
2021-01-14 21:14:09 +00:00
martin
fa1a2fa3b0 FpDebug: PascalParser, fixed unary +/- / Added unary for float / tests for float
git-svn-id: trunk@64388 -
2021-01-14 21:14:07 +00:00
martin
3f5954b07e FpDebug: fixed evaluating signed/unsigned mixed AND
git-svn-id: trunk@64387 -
2021-01-14 21:14:05 +00:00
martin
569ea0aeb7 FpDebugger: updated tests
git-svn-id: trunk@64021 -
2020-10-15 18:38:18 +00:00
martin
b3cbbc6218 FpDebug: tests
git-svn-id: trunk@63886 -
2020-09-17 23:04:20 +00:00
martin
93c1ca640f FpDebug: Rename some context classes, and search functions. Start differentiating between Context and SearchScope
git-svn-id: trunk@63783 -
2020-08-18 23:12:42 +00:00
martin
8386c71041 FpDebug: Tests for structure/class members to have DW_AT_const_value
git-svn-id: trunk@63773 -
2020-08-17 21:50:42 +00:00
martin
83816792fb fpdebug test - ifdef 2.6.4
git-svn-id: trunk@63767 -
2020-08-17 21:50:31 +00:00
martin
21f849d337 FpDebug: shorten the output for pchar like types (strings in dwarf 2)
git-svn-id: trunk@63399 -
2020-06-19 21:05:17 +00:00
martin
f97bb256fd FpDebug: add error message
git-svn-id: trunk@63384 -
2020-06-17 20:01:27 +00:00
martin
a667bbd318 FpDebug: PascalParser fix deref issues with typecasted pointers
git-svn-id: trunk@63383 -
2020-06-17 20:01:25 +00:00
martin
edc614596e FpDebug: fix test / enable asserts in test
git-svn-id: trunk@63362 -
2020-06-16 13:42:48 +00:00
martin
5436e7a8f8 FpDebug: Tests
git-svn-id: trunk@63077 -
2020-04-25 13:23:32 +00:00
martin
a70309d3ce FpDebug: Tests
git-svn-id: trunk@63069 -
2020-04-24 20:08:24 +00:00
martin
1f69cf465e FpDebug: fix typecast/deref for generated-pointer-type "^Foo($1234)", for signed values.
git-svn-id: trunk@62810 -
2020-03-25 15:51:07 +00:00
martin
d70c65f807 LazDebuggerFp: Test exception stepping
git-svn-id: trunk@62346 -
2019-12-08 00:18:48 +00:00
martin
0040dbe1fe FpDebug: tests
git-svn-id: trunk@62049 -
2019-10-13 12:25:43 +00:00
martin
9db76fad42 FpDebug: test
git-svn-id: trunk@62039 -
2019-10-11 12:37:47 +00:00
martin
d24501ac43 FpDebug: test for parser and/or/mod...
git-svn-id: trunk@62029 -
2019-10-10 21:30:21 +00:00
martin
861127a3cf FpDebug: test for parser string ops
git-svn-id: trunk@62027 -
2019-10-10 21:30:18 +00:00
martin
cda053352c FpDebug: Tests for bitpacked array/record
git-svn-id: trunk@62014 -
2019-10-09 20:06:24 +00:00
martin
bbc36a7e52 FpDebug: Add test for "set of (10..20)" (subrange)
git-svn-id: trunk@62010 -
2019-10-09 20:06:17 +00:00
martin
804425c111 FpDebug: test, nested procs can see outer scope
git-svn-id: trunk@61986 -
2019-10-05 11:09:42 +00:00
martin
6b45533e05 FpDebug: tests (enum member)
git-svn-id: trunk@61970 -
2019-10-03 18:38:14 +00:00
martin
50cb78378e FpDebug: test, increase timeout to reduce false failures
git-svn-id: trunk@61965 -
2019-10-03 18:38:06 +00:00
martin
10c89a58d9 FpDebug: tests
git-svn-id: trunk@61921 -
2019-09-24 23:36:42 +00:00
martin
9126322a34 FpDebug: tests
git-svn-id: trunk@61904 -
2019-09-19 17:29:18 +00:00
martin
0ea8345dd4 FpDebug: tests
git-svn-id: trunk@61901 -
2019-09-18 22:14:04 +00:00
martin
bfb0ff05df FpDebug: Test for stepping over an breakpoint that continues (condition/auto-continue/...) / stepping over recursive calls
git-svn-id: trunk@61884 -
2019-09-15 13:22:03 +00:00
martin
1c5491c441 FpDebug: tests for step over
git-svn-id: trunk@61879 -
2019-09-14 14:33:07 +00:00
martin
b93119b54e FpDebug: Test that each breakpoint is reported in each thread
git-svn-id: trunk@61852 -
2019-09-10 18:52:42 +00:00
martin
0b78b442ef FpDebug: Windows, Enabled test for WoW64
git-svn-id: trunk@61849 -
2019-09-10 01:40:51 +00:00
martin
623c18b832 FpDebug: comment out test for not yet implemented feature / clean up
git-svn-id: trunk@61841 -
2019-09-08 19:03:12 +00:00
martin
5b2858fe15 FpDebug: Test for breakpoints in threads
git-svn-id: trunk@61835 -
2019-09-08 19:03:03 +00:00
martin
6cabb6cc74 FpDebug: tests
git-svn-id: trunk@61784 -
2019-08-29 15:12:47 +00:00
martin
530e705ee9 FpDebug: more tests
git-svn-id: trunk@61778 -
2019-08-28 15:36:17 +00:00
martin
b8f6c44020 FpDebug: test watches for Pointer
git-svn-id: trunk@61754 -
2019-08-24 20:39:56 +00:00
martin
27171a439a FpDebug: more tests / run eval for skipped tests, ensure there is no crash
git-svn-id: trunk@61744 -
2019-08-22 21:33:21 +00:00
martin
4bfff289c6 FpDebug: some tests for info about types in watches
git-svn-id: trunk@61735 -
2019-08-20 18:58:52 +00:00
martin
4c83d18f8d FpDebug: tests for watches of Function/-ref
git-svn-id: trunk@61733 -
2019-08-20 18:58:48 +00:00
martin
eb8b6c7704 FpDebug: Test, Fix type-declaration in watches for function refs
git-svn-id: trunk@61724 -
2019-08-18 13:43:48 +00:00
martin
2c26dfcbd5 FpDebug, tests: function-ref variables
git-svn-id: trunk@61522 -
2019-07-03 18:26:34 +00:00
martin
c212dea70f FpDebug, tests: More typecast tests
git-svn-id: trunk@61502 -
2019-06-30 19:17:03 +00:00
martin
553557be16 FpDebug, tests: More tests. Array[Enum] / Array Element access
git-svn-id: trunk@61496 -
2019-06-30 19:16:53 +00:00
martin
7da8446021 FpDebug, tests: More tests. Address-Of and typecast/convert
git-svn-id: trunk@61495 -
2019-06-30 19:16:51 +00:00
martin
29e1a3298f Debug-TestBase: Clean up
git-svn-id: trunk@61494 -
2019-06-30 19:16:49 +00:00
martin
5cfa46a52f FpDebug, tests: Enable Tests for constants
git-svn-id: trunk@61452 -
2019-06-23 11:14:26 +00:00
martin
2a8f0cab85 FpDebug: More tests.
git-svn-id: trunk@61449 -
2019-06-23 11:14:20 +00:00
martin
9341db12f7 FpDebug, test: fix test.
git-svn-id: trunk@61418 -
2019-06-18 18:39:20 +00:00
martin
5bf0e570bf FpDebug: Updated tests for "UnicodeString" workaround for wrong dwarf-highbound fpc issue #0035359, see also issue #0035340
git-svn-id: trunk@60982 -
2019-04-15 14:03:25 +00:00
martin
bb4ab8881c FpDebug: Test for - Check char-size for strings. Recognize "UnicodeString", issue #0035340
git-svn-id: trunk@60931 -
2019-04-11 16:25:29 +00:00
martin
3d8420c410 LazDebuggerFp: Test IUnknown (only test for no crash). See issue #35129 / missing file for commit rev 60477 #801d5e137c
git-svn-id: trunk@60520 -
2019-02-26 18:52:01 +00:00
martin
99e95a0721 FpDebug: Test, fix asm compilation
git-svn-id: trunk@60359 -
2019-02-07 17:41:00 +00:00
martin
764ceb2e97 FpDebug: TestCase
git-svn-id: trunk@60215 -
2019-01-25 00:45:12 +00:00