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