Commit Graph

215 Commits

Author SHA1 Message Date
martin
93784272ae FpDebug: Eval threads first. Avoid double refresh of other windows.
git-svn-id: trunk@62051 -
2019-10-13 21:52:28 +00:00
martin
e44a64751f LazDebuggerFp: Improve reaction time to user request next-step/run. If Stack/Watches are still in evaluation then stop them.
git-svn-id: trunk@62050 -
2019-10-13 21:52:26 +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
bb9f614179 FpDebug: Fix a leak when stopping/reseting the debugger under heavy multithreaded load. (Windows may have queued events, then the next pause may not be the expected ExitProcess, and clean-up is not triggered.
git-svn-id: trunk@62032 -
2019-10-11 12:07:16 +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
cbe21ff4f3 FpDebug: implement watching bitpacked array/record
git-svn-id: trunk@62012 -
2019-10-09 20:06:21 +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
f6616221d8 FpDebug: Fix crash on hitting just deleted breakpoint (race condition leads to nil object access)
git-svn-id: trunk@62005 -
2019-10-06 22:00:31 +00:00
martin
5ff6c5c0c1 FpDebug: Partial implement WatchPoints.
- No local watches yet. Always global scope.
- Break on Write is the same Read/Write
- Info pop up has no old/new value
- No feedback (in some cases) if watch failed to set

git-svn-id: trunk@61990 -
2019-10-05 11:09:49 +00:00
martin
c545425462 LazDebuggerFp: Refactor getting user selected stack/frame into new method GetCurrentThreadAndStackFrame
git-svn-id: trunk@61988 -
2019-10-05 11:09:45 +00:00
martin
a631e91e53 FpDebug: rename TFpInternalBreakpointBase into TFpDbgBreakpoint / Make other packages use TFpDbgBreakpoint instead of internal class.
git-svn-id: trunk@61987 -
2019-10-05 11:09:44 +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
3cb743cac0 LazDebugger: Fix FindContext must run in thread. Fix watches in other stackframes sometimes fail to eval. Broken in r61968 #fa44aa0f0b.
git-svn-id: trunk@61984 -
2019-10-05 11:09:39 +00:00
martin
6b45533e05 FpDebug: tests (enum member)
git-svn-id: trunk@61970 -
2019-10-03 18:38:14 +00:00
martin
fa44aa0f0b LazDebuggerFp, FpDebug: Refactor FindContext
git-svn-id: trunk@61968 -
2019-10-03 18:38:11 +00:00
martin
3e1d403bae LazDebuggerFp, FpDebug: Attach and Detach (Windows/Linux)
Attach on Linux does not work for apps started with "run without debugging". (Maybe/Probably because the IDE does a separate waitpid on those, and interferes with the waitpid of the debugger?)

git-svn-id: trunk@61967 -
2019-10-03 18:38:10 +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
6591981f5f FpDebug: Fix leak introduced in r61951 #cc3a453334 / missing deref for ValueObject in Locals eval
git-svn-id: trunk@61957 -
2019-10-02 11:48:28 +00:00
martin
cc3a453334 FpDebug: Remove circular cache for ValueObject.
git-svn-id: trunk@61951 -
2019-09-29 21:43:51 +00:00
martin
495c172050 FpDebug: Remove LastMember for structures (part of circle ref with StructureValue)
git-svn-id: trunk@61950 -
2019-09-29 21:43:49 +00:00
martin
2ec08f8a9c FpDebug: rename TDbgInfo.FindSympol into FindProcSymbol
git-svn-id: trunk@61936 -
2019-09-28 19:08:13 +00:00
martin
10c89a58d9 FpDebug: tests
git-svn-id: trunk@61921 -
2019-09-24 23:36:42 +00:00
martin
ac8e91f785 LazDebuggerFp: Enable TypedAddress
git-svn-id: trunk@61919 -
2019-09-24 23:36:39 +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
ce36789c36 LazDebuggerFp: Improve OnIdle handling
git-svn-id: trunk@61893 -
2019-09-16 23:14:19 +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
736f8b32fa LazDebuggerFp: fix debugln
git-svn-id: trunk@61837 -
2019-09-08 19:03:06 +00:00
martin
3254177a33 LazDebuggerFp: check correct thread (only top frame) when getting register values
git-svn-id: trunk@61836 -
2019-09-08 19:03:05 +00:00
martin
5b2858fe15 FpDebug: Test for breakpoints in threads
git-svn-id: trunk@61835 -
2019-09-08 19:03:03 +00:00
martin
d9731de769 FpDebug, LazDebuggerFp: More debugln for Breakpoints
git-svn-id: trunk@61817 -
2019-09-05 20:05:55 +00:00
martin
2fa22bf873 LazDebuggerFp: Fix crash when starting debugger with F7/F8 - Disable them, as they currently do not stop at program entry
git-svn-id: trunk@61815 -
2019-09-05 20:05:51 +00:00
martin
e06e1746df LazDebuggerFp: fix uninitialized var
git-svn-id: trunk@61809 -
2019-09-02 14:19:04 +00:00
martin
4e7c7e1842 LazDebuggerFp: correctly eval watches for history snapshots
git-svn-id: trunk@61807 -
2019-09-02 00:44:53 +00:00
martin
4db4bc458b LazDebuggerFp: fix context (crash) during stack eval
git-svn-id: trunk@61804 -
2019-09-02 00:44:49 +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
c66f2fd121 LazDebuggerFp: Clean up
git-svn-id: trunk@61745 -
2019-08-22 21:33:22 +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