Martin
|
0e6769ac99
|
FpDebug, LazDebuggerFp: Implement tracking modified CPU registers (top stack-frame only)
|
2022-02-25 20:25:01 +01:00 |
|
Martin
|
2333696004
|
FpDebug: Ensure internal breakpoint is freed, if cmd is finished. Add asserts
|
2022-02-10 23:30:23 +01:00 |
|
Joost van der Sluis
|
4e4c402b62
|
FpDebug: Remove breakpoints bound to a specific library when this library gets unloaded
|
2021-12-23 00:32:41 +01:00 |
|
Joost van der Sluis
|
124083f794
|
FpDebug: Do not crash on unrecognized binary-formats
|
2021-12-10 17:57:07 +01:00 |
|
Martin
|
5c22ff5ad2
|
FpDebug: Fix stepping does not stop at next line (seen on Win7 only / Maybe issue #39383).
When checking if a step-in/over returned from going over a called proc (using the hidden-break), do not trust the BasePointer.
|
2021-12-10 00:29:26 +01:00 |
|
Martin
|
e618b09804
|
LazDebuggerFp: Fix Stepping and threads / Ensure loop exits with correct EventType
|
2021-12-09 18:17:56 +01:00 |
|
Joost van der Sluis
|
b9b35b4252
|
FpDebug: Set the TDbgImageReader.LoadedTargetImageAddr at creation, or else parts might already been read when it is set.
|
2021-12-08 00:43:17 +01:00 |
|
Martin
|
7534833eb6
|
FpDebug: Fixed passing dangling pointer. (Currently not used by LazDebuggerFp when doing deExitProcess)
|
2021-12-07 15:41:58 +01:00 |
|
Martin
|
07e3817870
|
FpDebug: fix mem leak. Libraries were not freed on Unload.
|
2021-12-06 00:40:25 +01:00 |
|
Joost van der Sluis
|
bc4718efae
|
FpDebug: Ability to pass multiple libraries to OnLibrary(Un)LoadedEvent and detection of loading of libraries on Linux
|
2021-12-05 01:46:45 +01:00 |
|
Martin
|
f49b54bae5
|
FpDebug: add a few missing "const" for params
|
2021-11-14 15:36:41 +01:00 |
|
ccrause
|
4055d9420b
|
Consolidated parameters for TDbgProcess.Create, StartInstance and AttachToInstance.
|
2021-11-06 14:23:31 +01:00 |
|
ccrause
|
923fce0cb0
|
Change StartInstance and AttachInstance to normal methods. TDbgController now calls OSDbgClasses.DbgProcessClass to create a process class instance with a TDbgProcessConfig parameter which can be subclassed and passed around for configuration. The remote configuration is now passed via this parameter as a subclass.
|
2021-11-06 14:23:28 +01:00 |
|
martin
|
b5bf7de6f9
|
FpDebug, Windows: Forward OutputDebugString to IDE.
git-svn-id: trunk@65475 -
|
2021-07-19 18:17:06 +00:00 |
|
martin
|
6661f86edd
|
Debugger: allow to force lazloggerbase via define
git-svn-id: trunk@65227 -
|
2021-06-14 07:30:45 +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 |
|
joost
|
fe6e63ed13
|
FpDebug: Handle signals during function-calls
git-svn-id: trunk@65130 -
|
2021-05-24 22:15:35 +00:00 |
|
mattias
|
65e16d03fb
|
fpdebug: less hints
git-svn-id: trunk@64686 -
|
2021-02-28 08:52:37 +00:00 |
|
martin
|
fa5c3112f3
|
FpDebug, LazDebuggerFp: call FOnThreadProcessLoopCycleEvent for deProcessExits / Ensure breakpoints are handled in the loop-thread / some breakpoint fixes
git-svn-id: trunk@64538 -
|
2021-02-11 22:40:21 +00:00 |
|
martin
|
fa5199045e
|
LazDebuggerFp, FpDebug: Show an error message, if the debugger cannot run the application. Issue #0038167
git-svn-id: trunk@64243 -
|
2020-12-19 22:39:00 +00:00 |
|
martin
|
bc13e22021
|
FpDebug: fix opening files with utf8 name on windows / prevent crash in trying to create filehandle, when an exception occurs. Issue #37884
git-svn-id: trunk@63978 -
|
2020-10-08 20:58:14 +00:00 |
|
joost
|
539c1f9a2b
|
FpDebug: Renamed TFpDbgHardcodedContext to TFpDbgHardcodedScope
git-svn-id: trunk@63899 -
|
2020-09-20 19:21:53 +00:00 |
|
martin
|
1a08e0ba34
|
FpDebug: Fix Step-Into - sometimes would step before the end of statement. This happened if a nested call was single step, and a "ret" statement encountered. The "ret" (in the nested) was attributed to the outer code, wrongly indicating the command "stepped out".
git-svn-id: trunk@63862 -
|
2020-09-03 16:32:27 +00:00 |
|
martin
|
d279fb5a4a
|
FpDebug: Move "uses" (ensure register) of imagereader classes from controller to DbgInfo (not all apps use a controller)
git-svn-id: trunk@63821 -
|
2020-08-24 11:19:20 +00:00 |
|
martin
|
54e4b88848
|
FpDebug: remove circular unit references
git-svn-id: trunk@63819 -
|
2020-08-23 22:57:41 +00:00 |
|
martin
|
953c9964f8
|
FpDebug: make more string params "const foo :string"
git-svn-id: trunk@63810 -
|
2020-08-22 20:27:14 +00:00 |
|
martin
|
c4d125495e
|
FpDebug: Fix Controller.Call / wrong type for context param
git-svn-id: trunk@63794 -
|
2020-08-19 19:14:33 +00:00 |
|
martin
|
1ba76474e3
|
FpDebug: Separate Context and SearchScope
git-svn-id: trunk@63784 -
|
2020-08-18 23:12:46 +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 |
|
joost
|
a733105c1c
|
fpDebug: Ability to do simple function-calls
git-svn-id: trunk@63751 -
|
2020-08-16 10:20:37 +00:00 |
|
martin
|
838de9a502
|
FpDebug: Ensure PauseRequest calls break handler. On Linux Process.Pause does not trigger an PausedAtHardcodedBreak
git-svn-id: trunk@63597 -
|
2020-07-18 23:22:38 +00:00 |
|
martin
|
57f2930395
|
FpDebug: Pause at hardcoded int3
git-svn-id: trunk@63513 -
|
2020-07-05 19:16:59 +00:00 |
|
martin
|
e55e3eec50
|
FpDebug: Refactor OnHitBreakpointEvent
git-svn-id: trunk@63512 -
|
2020-07-05 19:16:56 +00:00 |
|
martin
|
1b2bf99ec1
|
FpDebug: refactor showing exception details
git-svn-id: trunk@63380 -
|
2020-06-17 16:52:12 +00:00 |
|
martin
|
a43e155cdb
|
FpDebug, Debuggers, IDE: Make MemManager easier to access. (via Controller and Instance)
git-svn-id: trunk@63358 -
|
2020-06-16 13:42:42 +00:00 |
|
martin
|
3aff869045
|
FpDebug: Implemented StepOverTo
git-svn-id: trunk@63304 -
|
2020-06-06 00:53:46 +00:00 |
|
martin
|
c6680d5c01
|
FpDebug: Improve Step-over/in when stepping of the last "end" line of a procedure. Always step to next line in caller.
git-svn-id: trunk@63075 -
|
2020-04-25 13:23:28 +00:00 |
|
martin
|
3370955c2b
|
FpDebug: Fix pause on linux
git-svn-id: trunk@63067 -
|
2020-04-24 20:08:20 +00:00 |
|
martin
|
11ad3881e8
|
FpDebug: stepping, avoid double step out.
git-svn-id: trunk@63062 -
|
2020-04-24 20:08:13 +00:00 |
|
martin
|
074fc3b2f0
|
FpDebug: Fix "stepped out" detection for step-over/in. Do not stop an "leave" command.
git-svn-id: trunk@63061 -
|
2020-04-24 20:08:11 +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 |
|
martin
|
35706ffaa6
|
FpDebug: Improve step-commands for threads. Events in other threads, do not need single-stepping
git-svn-id: trunk@63059 -
|
2020-04-24 20:08:07 +00:00 |
|
martin
|
ec587a8ac1
|
FpDebug: Refactor internal jump detection
git-svn-id: trunk@63058 -
|
2020-04-24 20:08:06 +00:00 |
|
martin
|
ea30b6f6b9
|
FpDebug: Detect internal forwarding jumps, and avoid stopping at them
git-svn-id: trunk@63033 -
|
2020-04-20 15:31:45 +00:00 |
|
martin
|
840b55b4a8
|
FpDebug: Fix step out, if current is in prologue / IsSteppedOut did not catch as BasePointer was still on outer proc.
git-svn-id: trunk@63031 -
|
2020-04-20 12:55:12 +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
|
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
|
2e1bd02f2d
|
FpDebug: Refactor OsDbgClasses => move as field to DbgController and DbgProcess / Prepare for target specific classes
git-svn-id: trunk@62747 -
|
2020-03-12 14:09:16 +00:00 |
|
martin
|
676c17f1cf
|
FpDebug: Refactor disassembler into class
git-svn-id: trunk@62746 -
|
2020-03-12 14:09:14 +00:00 |
|
martin
|
2282f707cf
|
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@62492 -
|
2020-01-04 19:02:04 +00:00 |
|