Commit Graph

638 Commits

Author SHA1 Message Date
martin
e0ebb5cb56 FpDebug: allow changing current thread on Linux
git-svn-id: trunk@63068 -
2020-04-24 20:08:22 +00:00
martin
bb08a7b8cb FpDebug: do not ExecuteInThread while running / prevent IDE hanging
git-svn-id: trunk@63066 -
2020-04-24 20:08:19 +00:00
martin
1cc3be175c FpDebug: prevent debugger thread from crashing / prevent IDE hang, waiting for crashed thread.
git-svn-id: trunk@63064 -
2020-04-24 20:08:16 +00:00
martin
f2d5fd797b FpDebug: Refactor storing/comparing stack-pointer/frame for step-out detection. Allow different architectures to provide sub-classes
git-svn-id: trunk@63060 -
2020-04-24 20:08:09 +00:00
juha
651a6436a2 Support Haiku build. Makefiles are generated from Makefile.fpc files using proper tools. Issue #36316, patch from Alfred.
git-svn-id: trunk@62890 -
2020-04-05 11:35:01 +00:00
martin
667546f298 FpDebugger (all): prevent nil deref, for empty watch (auto instance class)
git-svn-id: trunk@62811 -
2020-03-25 15:51:09 +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
mattias
a472e9ef09 buildintf: split from ideintf
git-svn-id: trunk@62795 -
2020-03-22 11:58:11 +00:00
martin
62facbb44d Renamed TDbgDisassembler class and all related classes to avoid name clashes with FpDebugDebugger classes.
Patch/Contributed by ccrause

git-svn-id: trunk@62757 -
2020-03-12 14:21:17 +00:00
martin
121b9389ee Naive implementation of reverse disassembling
Patch/Contributed by ccrause

git-svn-id: trunk@62754 -
2020-03-12 14:21:12 +00:00
martin
6d6903e246 Introduce minimum and maximum instruction size properties to TDbgDisassembler. This is useful for buffering calculations, also in reverse disassembling. Preread required memory before disassembling to reduce impact of remote target access
Patch/Contributed by ccrause

git-svn-id: trunk@62753 -
2020-03-12 14:21:10 +00:00
martin
b014fcdeeb Let the TProcess call decide, if calls must be made in the correct thread (debugger-thread). Linux/trace only allows the dbg thread access.
git-svn-id: trunk@62752 -
2020-03-12 14:21:08 +00:00
martin
2ee9c0fe84 FpDebug: New TTargetDescriptor type used to store target specific information. All target specific classes are automatically registered in the respective initialization sections. TDbgController.Run modified to call CheckExecutableAndLoadClasses which loads target info from specified file, loads global disassembler instance and DbgProcess class. Patch/Contributed by ccrause
git-svn-id: trunk@62748 -
2020-03-12 14:20:33 +00:00
martin
676c17f1cf FpDebug: Refactor disassembler into class
git-svn-id: trunk@62746 -
2020-03-12 14:09:14 +00:00
martin
834a18b043 FpDebug: Fix Command.DoContinue. Do not read DbgThread.GetInstrPtr if the event is caused by another thread. On Linux the none-event thread (belonging to the command) may not be paused/readable.
git-svn-id: trunk@62495 -
2020-01-04 19:44:01 +00:00
martin
6cc8e56bdc FpDebug: Fixed IDE hang on linux. ExecuteInDebugThread can be called recursive (e.g., by MemReader)
git-svn-id: trunk@62491 -
2020-01-04 18:23:06 +00:00
martin
8bdb3bfd79 FpDebug: fix mem leak / cross debug to win32 causes 2 load events for ntdll
git-svn-id: trunk@62480 -
2020-01-04 03:00:09 +00:00
martin
98aa637a42 FpDebug: debugln
git-svn-id: trunk@62406 -
2019-12-16 23:22:53 +00:00
martin
ce0adcee42 LazDebuggerFp: fix compile with 3.3.1
git-svn-id: trunk@62350 -
2019-12-08 03:24:37 +00:00
martin
5d2eb7f545 IDE: Added LazDebuggerFp (fpdebug) to BigIDE
git-svn-id: trunk@62349 -
2019-12-08 02:37:52 +00:00
martin
479ccecb1d LazDebuggerFp: Version to 0.9 and Makefile
git-svn-id: trunk@62348 -
2019-12-08 02:37:50 +00:00
martin
d70c65f807 LazDebuggerFp: Test exception stepping
git-svn-id: trunk@62346 -
2019-12-08 00:18:48 +00:00
martin
489625b121 FpDebug, LazDebuggerFp: Implement step to except/finally / step over ignored exception
git-svn-id: trunk@62344 -
2019-12-08 00:18:17 +00:00
martin
b34bc4a730 FpDebug, LazDebuggerFp: Implemented OnLibrary(Un)LoadedEvent / Show in event log
git-svn-id: trunk@62340 -
2019-12-08 00:18:10 +00:00
martin
9cd1e928d5 FpDebug, LazDebuggerFp: Use FindProc instead of FindContext to get SymbolInfo entries
git-svn-id: trunk@62339 -
2019-12-08 00:18:09 +00:00
martin
b206664b05 LazDebuggerFp: Fixed/Workaround an endless loop with auto-continue breakpoints. The new async-stack-eval was not taken into account.
git-svn-id: trunk@62319 -
2019-12-03 01:55:29 +00:00
martin
cdad0cd83f LazDebuggerGdbmi: Tests for Step to finally/except for Win64 SEH
git-svn-id: trunk@62315 -
2019-11-29 02:58:27 +00:00
martin
e5f3e33463 LazDebuggerFp: Fix watches evaluation not called, if stack had less than 5 frames. FReqList was not cleared, since "add" happens after "remove" (remove called during create)
git-svn-id: trunk@62304 -
2019-11-27 01:52:41 +00:00
martin
33105a74b6 LazDebuggerFp: use GetParamsAsString from FpDebug
git-svn-id: trunk@62173 -
2019-11-03 17:05:36 +00:00
mattias
f46c547347 lazdebugger: clean up
git-svn-id: trunk@62110 -
2019-10-22 15:10:45 +00:00
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
e6a89c7f7c Debugger-tests: Ensure all pending log messages are written before closing the file
git-svn-id: trunk@62035 -
2019-10-11 12:07:21 +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
9593489f2f Debugger-test-base: reduce large string ops // collecting thousands of strings is better done in a list.
git-svn-id: trunk@62016 -
2019-10-09 20:06:27 +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
martin
5a7c9f1487 FpDebug: Refactor class names for TFpDbgValue and TFpDbgSymbol descendants.
git-svn-id: trunk@61722 -
2019-08-18 13:43:45 +00:00
martin
ff1657deea Debugger-Config: Allow individual LRU list for gdb vs lldb
git-svn-id: trunk@61554 -
2019-07-09 19:20:08 +00:00
martin
358ce23913 Debugger-Config: Allow "named" configs for the debugger.
git-svn-id: trunk@61548 -
2019-07-08 23:01:18 +00:00
martin
2c26dfcbd5 FpDebug, tests: function-ref variables
git-svn-id: trunk@61522 -
2019-07-03 18:26:34 +00:00
martin
fa7ee1a8bb FpDebug, testbase: Fix re-using already compiled test-exe
git-svn-id: trunk@61519 -
2019-07-03 18:26:29 +00:00
martin
65aa82abae FpDebug, testbase: Speed up test case / force AsyncQueue to run right away
git-svn-id: trunk@61518 -
2019-07-03 18:26:27 +00:00
martin
3ed45630a0 LazDebuggerFp: slightly faster watch eval.
git-svn-id: trunk@61517 -
2019-07-03 18:26:26 +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
745d2b94d1 Debugger, testsuite: fix crash if logging is disabled
git-svn-id: trunk@61446 -
2019-06-22 17:09:36 +00:00
martin
8874afbe6a FpDebug/LazDebuggerFp: Refactor logging, use LazLogger for all logging.
git-svn-id: trunk@61427 -
2019-06-19 15:26:22 +00:00
martin
9341db12f7 FpDebug, test: fix test.
git-svn-id: trunk@61418 -
2019-06-18 18:39:20 +00:00
martin
dec42c1e4d LazDebugger Tests: Improve error feedback
git-svn-id: trunk@61149 -
2019-05-05 15:29:58 +00:00
martin
677180e6e5 FpGdbmiDebugger: Don't defer skNone to GDB. gdb may crash, and fpdebug may have some data. Issue #0035477
git-svn-id: trunk@61133 -
2019-05-03 21:24:59 +00:00
martin
142b226591 LazDebuggerFpGdbmi: fixed a crash in watches eval, after cancel of watch eval due to dbg error.
git-svn-id: trunk@61056 -
2019-04-25 17:43:00 +00:00
juha
3df7d8afe5 LCL, LazUtils: Move string manipulation functions from LCLProc to LazStringUtils.
git-svn-id: trunk@61038 -
2019-04-22 09:00:32 +00:00
martin
b31e03db6b LazDebugger(Fp)Lldb: improve checks for errors during launch command. Ignore text in file names.
git-svn-id: trunk@61001 -
2019-04-17 15:01:01 +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
79a26a4231 LazDebuggerFpLldb: prevent crash in asm window, if dwarf info failed to load
git-svn-id: trunk@60926 -
2019-04-11 11:28:32 +00:00
martin
728f898e5f LazDebuggerFpLldb: Catch errors during dwarf loading.
git-svn-id: trunk@60899 -
2019-04-09 18:39:49 +00:00
martin
52e13f73cb LazDebuggerFpLldb: clean up
git-svn-id: trunk@60898 -
2019-04-09 18:39:47 +00:00
martin
209dc36684 LazDebuggerFp: Fix range-check / overflow with bad data.
git-svn-id: trunk@60707 -
2019-03-17 02:49:05 +00:00
martin
f4f3307ca9 LazDebuggerFp: Prevent crash when watches are freed, after debugger was destroyed
git-svn-id: trunk@60692 -
2019-03-16 02:46:15 +00:00
martin
19b18e1f67 LazDebugger(Fp)Lldb: improve cancel watch eval (cancel current watch, in mem-reader), on receiving run/step request
git-svn-id: trunk@60652 -
2019-03-11 13:45:22 +00:00
martin
767e4c056c LazDebugger(Fp)Lldb: Cancel watch eval, on receiving run/step request
git-svn-id: trunk@60651 -
2019-03-11 13:45:20 +00:00
martin
8e825867ba LazDebugger(Fp)Lldb: Errors during launch may be warnings (e.g. outdated debug info). Report to user, and allow to ignore.
git-svn-id: trunk@60649 -
2019-03-10 17:59:59 +00:00
martin
a0c7eac2b7 LazDebuggerLldb: make debugln optional
git-svn-id: trunk@60643 -
2019-03-10 03:03:40 +00:00
martin
6d0a2c7637 LazDebugger(Fp)Lldb: terminate debugger, when entering error state
git-svn-id: trunk@60642 -
2019-03-10 02:54:05 +00:00
martin
8b7014dbb0 LldbDebugger: Detect if the external exe is wrongly set to gdb.
git-svn-id: trunk@60599 -
2019-03-06 17:41:05 +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
801d5e137c LazDebuggerFp: Test IUnknown (only test for no crash). See issue #35129
git-svn-id: trunk@60477 -
2019-02-24 13:36:39 +00:00
martin
75f7a868fd LazDebugger(Fp)Lldb: Option to force open a terminal when debugging
git-svn-id: trunk@60470 -
2019-02-20 18:57:34 +00:00
martin
9c1b94fd8f LazDebuggerFpLldb: fix correct context for eval in thread.
git-svn-id: trunk@60431 -
2019-02-15 19:57:42 +00:00
martin
2acdb72734 LazDebugger(Fp)Lldb: fix select correct thread at breakpoint
git-svn-id: trunk@60419 -
2019-02-14 02:49:50 +00:00
martin
dff24e8451 LazDebugger(Fp)Lldb: fix stackframe when switching between threads
git-svn-id: trunk@60413 -
2019-02-12 21:41:47 +00:00
martin
2de7b11832 LazDebugger(Fp)Lldb: fix thread/frame for watch eval.
git-svn-id: trunk@60412 -
2019-02-12 19:40:38 +00:00
martin
4bb5c5ff41 LazDebuggerLldb: Add default lldb exe path (*nix)
git-svn-id: trunk@60404 -
2019-02-11 15:40:21 +00:00
martin
99e95a0721 FpDebug: Test, fix asm compilation
git-svn-id: trunk@60359 -
2019-02-07 17:41:00 +00:00
martin
616069b6b2 LazDebuggerFp: Fix context for evaluate on none existing stackframe
git-svn-id: trunk@60357 -
2019-02-07 17:39:06 +00:00
martin
e838d16727 LazDebuggerFp: Fix context for evaluate on higher stack frames (count vs index)
git-svn-id: trunk@60356 -
2019-02-07 17:06:10 +00:00
martin
dac68e42e2 FpDebug, LazDebuggerFp: fix last frame in stack list / allow evaluate more frames
git-svn-id: trunk@60335 -
2019-02-04 18:26:11 +00:00
martin
10824e43e6 LazDebugger(Fp)Lldb: Fix stepping in the correct thread
git-svn-id: trunk@60325 -
2019-02-03 22:44:08 +00:00
martin
7243ffc25d Lldb / FpLldb: fix length of exception class names
git-svn-id: trunk@60239 -
2019-01-29 15:00:28 +00:00
martin
764ceb2e97 FpDebug: TestCase
git-svn-id: trunk@60215 -
2019-01-25 00:45:12 +00:00
martin
ceb99f5f2e FpDebug: TestCase, more refactor internal breakpoints.
git-svn-id: trunk@60161 -
2019-01-23 21:30:13 +00:00
martin
9fffa25dc3 FpDebug: TestCase, more refactor internal breakpoints.
git-svn-id: trunk@60143 -
2019-01-22 02:13:51 +00:00
martin
52cadc4bb3 Debugger-tests: speed up internal logging (needed on windows).
git-svn-id: trunk@60133 -
2019-01-21 16:58:38 +00:00
martin
3f2cdc7c27 Debugger: remove some active logging
git-svn-id: trunk@60130 -
2019-01-21 00:18:23 +00:00
martin
ea6abfeb17 LazDebuggerFpLldb: correctly initialize pretty-printer
git-svn-id: trunk@60084 -
2019-01-14 20:15:08 +00:00
martin
f737797457 FpDebugServer: fix compilation / support multiple addresses per breakpoint
git-svn-id: trunk@60048 -
2019-01-09 20:50:23 +00:00
martin
f32968dd25 LazDebuggerFpLldb: allow external dwarf symbols on Mac
git-svn-id: trunk@60042 -
2019-01-08 23:13:36 +00:00
martin
af994a75c8 LazDebuggerFp: use dsInternalPause to set/unset breakpoints
git-svn-id: trunk@60035 -
2019-01-08 18:42:59 +00:00
martin
10ba71341c LazDebuggerFp/FpDebug: prevent mem-cache from hiding mem-read errors
git-svn-id: trunk@60014 -
2019-01-06 01:43:52 +00:00
martin
0a14d8c4ae LazDebuggerFp/FpDebug: tests, fp-lldb
git-svn-id: trunk@60012 -
2019-01-05 17:27:29 +00:00
martin
e00a9fb7eb LazDebuggerFp/FpDebug: tests, fp-lldb
git-svn-id: trunk@60010 -
2019-01-05 16:31:44 +00:00
martin
0e7c353eb8 LazDebuggerFp/FpDebug: tests, remove virtualtree
git-svn-id: trunk@60009 -
2019-01-05 16:30:44 +00:00
martin
89171482cc LazDebuggerFpLldb: retrieve register for other stackframes, while evaluation is running (required for nested procedures)
git-svn-id: trunk@60008 -
2019-01-05 16:21:44 +00:00
martin
5dc6bda9b0 LazDebuggerFpLldb: get current IP address from register (instead of stack) if available
git-svn-id: trunk@60007 -
2019-01-05 16:20:22 +00:00
martin
29dbe9729c LazDebugger(Fp)Lldb: fix 32/64 target detection
git-svn-id: trunk@60006 -
2019-01-05 16:17:57 +00:00
martin
06b7314a08 LazDebuggerFpLldb: fix crash in shutdown (stop debug while paused)
git-svn-id: trunk@60005 -
2019-01-05 15:27:37 +00:00
martin
c5cd6d5335 LazDebugger(Fp)Lldb: fix correct stackframe/thread for registers
git-svn-id: trunk@60004 -
2019-01-05 15:25:30 +00:00
martin
1268d65651 LazDebuggerFpLldb: fix pre-loading correct registers
git-svn-id: trunk@60001 -
2019-01-04 18:38:36 +00:00
martin
3a3acd660b LazDebuggerLldb: Fix reading registers for correct frame
git-svn-id: trunk@60000 -
2019-01-04 18:32:16 +00:00
martin
f9c2253b95 LazDebuggerFpGdbmi: Prevent occasional crash, when evaluate watch in nested procedure (access callstack out of index)
git-svn-id: trunk@59998 -
2019-01-04 15:04:20 +00:00
martin
23c7055080 LazDebuggerFpLldb: Prevent occasional crash, when evaluate watch in nested procedure (access callstack out of index)
git-svn-id: trunk@59997 -
2019-01-04 15:03:44 +00:00
martin
f5e720ed1e LazDebuggerFp/FpDebug: tests
git-svn-id: trunk@59964 -
2019-01-01 15:12:06 +00:00
martin
d3881b11b1 LazDebuggerLldb: change "open array" params to "const"
git-svn-id: trunk@59932 -
2018-12-29 00:36:13 +00:00
martin
e74b00e9dc LazDebuggerFp: Fix, showing pchar and string version for index access of string/pchar
git-svn-id: trunk@59862 -
2018-12-19 01:42:45 +00:00
martin
c3e01c7dc4 Fix spelling
git-svn-id: trunk@59859 -
2018-12-19 00:37:00 +00:00
martin
ce908679b0 Debugger test: fix leak in 2ndary logger
git-svn-id: trunk@59855 -
2018-12-18 16:03:37 +00:00
martin
0b45975fa0 LazDebuggerFpLLDB: fix mem leak in cache
git-svn-id: trunk@59850 -
2018-12-18 13:59:00 +00:00
martin
9cd0d830c4 LazDebuggerFpLLDB: fix mem leak in locals
git-svn-id: trunk@59848 -
2018-12-18 13:50:09 +00:00
martin
3d715e74e5 LazDebugger(Fp)LLDB: Show message on unexpected stop
git-svn-id: trunk@59846 -
2018-12-18 13:40:24 +00:00
martin
e72387cbeb LazDebuggerFpLLDB: load dwarf info in thread / simplify clean up
git-svn-id: trunk@59824 -
2018-12-14 10:51:26 +00:00
martin
4315025999 LazDebuggerFp: Implement OnIdle, make debug history being recorded.
git-svn-id: trunk@59818 -
2018-12-13 17:09:27 +00:00
martin
6c33c7fc13 LazDebuggerFp: Implement conditional breakpoints / fix nil access
git-svn-id: trunk@59815 -
2018-12-13 14:27:51 +00:00
martin
3cffd5e3da LazDebuggerFp: Implement conditional breakpoints
git-svn-id: trunk@59814 -
2018-12-13 12:56:18 +00:00
martin
1557e2c163 LazDebuggerFpLLDB: load dwarf info in thread / fix memleak
git-svn-id: trunk@59813 -
2018-12-13 11:43:58 +00:00
martin
39cca21c0c LazDebuggerFpLLDB: load dwarf info in thread / process simultaneous with lldb
git-svn-id: trunk@59812 -
2018-12-12 22:47:52 +00:00
martin
950ab08ab8 LazDebuggerFpLLDB: Enable capturing debug history (snapshots) on idle or break-action
git-svn-id: trunk@59811 -
2018-12-12 22:10:34 +00:00
martin
e41b09b476 LazDebuggerFpLLDB: Fix locals, need registers first
git-svn-id: trunk@59806 -
2018-12-12 17:21:46 +00:00
martin
435e8b1c1c LazDebugger(Fp)Gdbmi: Fix potential dangling pointer in Locals eval.
git-svn-id: trunk@59805 -
2018-12-12 17:14:31 +00:00
martin
9de85d233b LazDebuggerFpLLDB: Fix potential dangling pointer in Locals eval.
git-svn-id: trunk@59802 -
2018-12-12 13:46:01 +00:00
martin
f4544c2ac8 LazDebuggerFp: Prevent crash, if debugger instance is destroyed before logging is handled.
git-svn-id: trunk@59787 -
2018-12-10 23:26:09 +00:00
martin
d4079f1a6c FpDebug: test cases
git-svn-id: trunk@59782 -
2018-12-10 21:36:50 +00:00
martin
82671b823c FpDebug: test cases
git-svn-id: trunk@59781 -
2018-12-10 21:17:09 +00:00
martin
4286d5a275 LazDebuggerFpGdbmi: Use TargetWidth instead of IFDEF cpu64
git-svn-id: trunk@59744 -
2018-12-06 22:38:02 +00:00
martin
801ce13eb6 LazDebuggerFp: fix getting exception class/msg for 64bit targets
git-svn-id: trunk@59742 -
2018-12-06 20:20:23 +00:00
martin
d5cfafb571 LazDebuggerFp: linux, fix running process-access in debug-thread (needed when accessing outer vars for nested procs, for which stack has not yet been evaluated)
git-svn-id: trunk@59696 -
2018-11-29 14:52:08 +00:00
martin
abec187707 LazDebuggerFp: tests, cthreads for linux
git-svn-id: trunk@59695 -
2018-11-29 14:00:10 +00:00
martin
56745aed40 LazDebuggerFp: more tests
git-svn-id: trunk@59688 -
2018-11-28 20:56:25 +00:00
martin
0dd0d21622 LazDebugger(Fp)LLDB: fix memory leak
git-svn-id: trunk@59680 -
2018-11-27 18:41:35 +00:00
martin
ca2eda8348 LazDebugger(Fp)LLDB: fix getting class-name for exceptions
git-svn-id: trunk@59679 -
2018-11-27 18:37:53 +00:00
martin
7716b8a149 LazDebugger(Fp)LLDB: fix, check for ignored exceptions
git-svn-id: trunk@59678 -
2018-11-27 18:30:10 +00:00
martin
503598554b LazDebuggerFp: starting testcase
git-svn-id: trunk@59675 -
2018-11-27 01:24:22 +00:00
martin
2a997b956c LazDebuggerFpLLDB: deal with fpc info for nested procs variable scopes.
git-svn-id: trunk@59657 -
2018-11-25 20:04:34 +00:00
martin
0d4fa259a4 LazDebuggerFp: deal with fpc info for nested procs variable scopes.
git-svn-id: trunk@59656 -
2018-11-25 20:01:36 +00:00
martin
895fe14aed LazDebuggerFp: handle "ignored exceptions" list
git-svn-id: trunk@59655 -
2018-11-25 20:00:38 +00:00
martin
4e95eebb41 Debugger-Tests: fix test selector
git-svn-id: trunk@59641 -
2018-11-23 18:52:31 +00:00
martin
f1ca1318cf Debugger-Tests: fix test selector
git-svn-id: trunk@59616 -
2018-11-21 19:36:39 +00:00
martin
4fd6f41ee5 Debugger-Tests: Refactor
git-svn-id: trunk@59615 -
2018-11-21 18:59:38 +00:00
martin
d241c5e016 LazDebuggerFp: more nil handling safety
git-svn-id: trunk@59608 -
2018-11-19 18:07:28 +00:00
martin
96fdbb9d93 LazDebuggerFp: Fix crash, if string read from debugged app is nil / debugged app exception info
git-svn-id: trunk@59607 -
2018-11-19 17:48:12 +00:00
martin
2cace808be LazDebuggerFp, FpDebug: (windows only) implemented switching threads while paused. (On Linux only one thread is currently paused, so switching is not possible)
git-svn-id: trunk@59571 -
2018-11-17 14:16:09 +00:00
martin
37e86f2e05 LazDebuggerFp: fix missing result for dcPause
git-svn-id: trunk@59568 -
2018-11-17 12:35:51 +00:00
martin
f275a9445c LazDebuggerFp: return typeinfo for watches
git-svn-id: trunk@59558 -
2018-11-16 13:18:28 +00:00
martin
a67ceac77f LazDebuggerFp: added auto-typecast for objects (watches, inspect / not working for hints)
git-svn-id: trunk@59556 -
2018-11-16 11:13:43 +00:00
martin
84e5ae329a FpDebug: Workaround for dangling thread object
git-svn-id: trunk@59551 -
2018-11-15 22:41:07 +00:00
martin
9daf9a9f45 LazDebuggerFp: Fix/Implement "Reset Debugger" / Refactor: Use LockRelease from base class.
git-svn-id: trunk@59521 -
2018-11-11 21:14:00 +00:00
martin
e31e672112 LazDebuggerFp: fix mem leaks in logging code.
git-svn-id: trunk@59511 -
2018-11-11 18:27:22 +00:00
martin
c919a8a021 Added lldb, lldb-fp to BigIde
git-svn-id: trunk@59497 -
2018-11-09 16:20:46 +00:00
martin
f0d8e3150c fix Makefiles
git-svn-id: trunk@59496 -
2018-11-09 15:08:28 +00:00
martin
a7b3746bf9 lldb-fp debug: Makefiles
git-svn-id: trunk@59494 -
2018-11-09 12:45:42 +00:00
martin
8952e4f073 lldb debuggers: added license info / fp-lldb now beta
git-svn-id: trunk@59491 -
2018-11-08 12:14:08 +00:00
martin
c54639d227 FpDebug: Allow to specify poNewConsole on windows
git-svn-id: trunk@59488 -
2018-11-07 23:13:11 +00:00
martin
59e211fd44 lldb debugger: Fixed "stop" => now works while running. Implemented "pause"
git-svn-id: trunk@59445 -
2018-11-04 11:42:54 +00:00
martin
9b2f44b8c8 Lldb/Gdb - FpDebug: fix crash in pretty printer when called from lldb/gdb mixed debugger (MemManager not set)
git-svn-id: trunk@59443 -
2018-11-03 22:45:16 +00:00
mattias
1fb0143559 lazdebuggers: less hints
git-svn-id: trunk@59214 -
2018-10-01 15:13:00 +00:00
mattias
c2b0e049ef set trunk version to 2.0.0PreRelease
git-svn-id: trunk@59008 -
2018-09-15 19:41:22 +00:00
martin
abb4caa1b0 LazDebugger, lldb: more except handling
git-svn-id: trunk@58952 -
2018-09-11 12:07:08 +00:00
martin
39bce25a6e LazDebugger, lldb: more except handling
git-svn-id: trunk@58951 -
2018-09-11 11:28:57 +00:00
martin
28d95f19a0 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58944 -
2018-09-10 22:52:30 +00:00
martin
6a118ae674 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58943 -
2018-09-10 22:48:59 +00:00
martin
abb0c6ee62 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58942 -
2018-09-10 22:38:29 +00:00
martin
92a49470c8 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58941 -
2018-09-10 22:28:16 +00:00
martin
df5198c067 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58937 -
2018-09-10 22:17:51 +00:00
martin
39230ec8a5 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58935 -
2018-09-10 18:51:10 +00:00
martin
2215afacf5 LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58934 -
2018-09-10 18:47:45 +00:00
martin
d2951e053c LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58933 -
2018-09-10 18:36:24 +00:00
martin
1f0e5653f1 git-svn-id: trunk@58932 - 2018-09-10 18:09:22 +00:00
martin
a588c248ff LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58931 -
2018-09-10 15:54:21 +00:00
martin
561246b1f9 LazDebugger, lldb: added asm step support / Issue #34227 Patch by David Jenkins
git-svn-id: trunk@58897 -
2018-09-06 21:52:19 +00:00
martin
d8030ed0be LazDebugger, fp-lldb: added dis-assembler support / Issue #34228 Patch by David Jenkins
git-svn-id: trunk@58896 -
2018-09-06 21:40:21 +00:00
martin
b65618119a fp-lldb debugger: fix hint evaluation / make sure registers are read first. Issue #034229
git-svn-id: trunk@58894 -
2018-09-06 12:15:32 +00:00
martin
7c2ce1cc23 fp-lldb, allow none external dbg info on mac 64bit
git-svn-id: trunk@58893 -
2018-09-06 11:42:47 +00:00
martin
a44e814975 fpdebug / fp-lldb: runtime detection of 32/64bit arch. Issue #34225 Patch by David Jenkins
git-svn-id: trunk@58891 -
2018-09-06 11:24:43 +00:00
martin
d4437e704c LazDebugger, lldb: fix process launch
git-svn-id: trunk@58886 -
2018-09-06 01:45:03 +00:00
martin
362a579f9c LazDebugger, lldb: fix settings clear
git-svn-id: trunk@58885 -
2018-09-06 01:35:58 +00:00
martin
521b7017a7 LazDebugger, lldb: added step from raise to except/finally
git-svn-id: trunk@58884 -
2018-09-06 01:33:19 +00:00
martin
0ca9912dbf LazDebugger, lldb: fix settings cmd line args
git-svn-id: trunk@58883 -
2018-09-06 01:26:53 +00:00
martin
8e9344b351 LazDebugger, lldb: improved detecting arch discovery / Issue #34226 Patch by David Jenkins
git-svn-id: trunk@58882 -
2018-09-06 01:12:45 +00:00
martin
0d7386a502 LazDebugger, lldb: added step from raise to except/finally
git-svn-id: trunk@58881 -
2018-09-06 00:52:56 +00:00
martin
9347bbad86 LazDebugger, lldb: added run error handling
git-svn-id: trunk@58872 -
2018-09-05 13:54:08 +00:00
martin
d7046574ac LazDebugger, lldb: fix process terminated / add environment / add cmd line args
git-svn-id: trunk@58845 -
2018-09-03 22:36:24 +00:00
martin
9fdeb7de5c LazDebugger, lldb: refactor run command / not all lldb support thread stop format
git-svn-id: trunk@58841 -
2018-09-03 15:45:42 +00:00
martin
5570f33576 LazDebugger, lldb: refactor run command / move break handling to run cmd / hook, auto run thread list
git-svn-id: trunk@58839 -
2018-09-03 14:41:33 +00:00
martin
b3d8d81fe7 Debugger: let the debugger request certain compiler opts (eg: needs dwarf, or external info)
git-svn-id: trunk@58680 -
2018-08-05 13:05:21 +00:00
martin
9f8beba93e Debugger: let the debugger request certain compiler opts (eg: needs dwarf, or external info)
git-svn-id: trunk@58679 -
2018-08-05 12:26:21 +00:00
juha
d43fa548b8 LazUtils: Rename unit LazUTF8SysUtils -> LazSysUtils. It had nothing to do with character encoding.
git-svn-id: trunk@58630 -
2018-07-25 13:38:59 +00:00
martin
925809e37e GDBMI debugger testcase: ensure floating point separator. Issue #031922 patch by jacobb
git-svn-id: trunk@58538 -
2018-07-15 23:10:26 +00:00
martin
2cf32ee41e lldb debugger: fix continue running
git-svn-id: trunk@58512 -
2018-07-13 23:32:31 +00:00
martin
0e9f870052 FpDebug: Fix crash, due to memmanager not initialized
git-svn-id: trunk@58503 -
2018-07-13 15:21:30 +00:00
mattias
2bbe0a8cc7 updated makefiles
git-svn-id: trunk@58493 -
2018-07-11 23:58:59 +00:00
martin
06d4432fb4 Fix compile after debugger intf change
git-svn-id: trunk@58479 -
2018-07-10 12:58:18 +00:00
martin
0b4c0d8df6 lldb debugger: BreakPoints
git-svn-id: trunk@58475 -
2018-07-10 00:03:36 +00:00
martin
2325bf85bd lldb debugger: BreakPoints
git-svn-id: trunk@58474 -
2018-07-09 23:44:56 +00:00
martin
80f0f2fa83 lldb debugger: BreakPoints
git-svn-id: trunk@58473 -
2018-07-09 23:31:08 +00:00
martin
5d541aec27 DebuggerIntf: Watches can now be created in Updating state. Allowing to bundle change notifications for the debugger backend.
git-svn-id: trunk@58465 -
2018-07-08 20:51:00 +00:00
martin
7dca373ee2 added $IDEBuildOptions
git-svn-id: trunk@58464 -
2018-07-08 15:50:37 +00:00
martin
9b00b7bb65 lldb debugger: basic exception handling / fix crash in watches, if watch was free'd
git-svn-id: trunk@58443 -
2018-07-05 23:45:36 +00:00
martin
ec75584bad lldb debugger: locals / fixes crash in stack
git-svn-id: trunk@58438 -
2018-07-03 23:13:23 +00:00
martin
1f4fa68fab Remove deprecated misspelled methods
git-svn-id: trunk@58436 -
2018-07-03 22:40:28 +00:00
martin
c7974af7b9 lldb debugger: breakpoint handling (honour most brk-properties)
git-svn-id: trunk@58435 -
2018-07-03 14:57:35 +00:00