Commit Graph

112 Commits

Author SHA1 Message Date
Martin
d1ac568e96 Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
Martin
a365f46170 FpDebug/FPD: Add FpDbgDwarfFreePascal - This activates the FPC specific dwarf interpretation. 2021-11-28 10:53:43 +01:00
ccrause
1e0b55da03 Move management of GController instance to TFDLoop.Inititialize and Destroy. 2021-11-21 10:26:10 +02:00
ccrause
7ae19d4eac Add cthreads if compiled for unix by Fredvs 2021-11-21 10:25:55 +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
14dc58d892 FpDebug: test and helper apps, fixed some compile errors
git-svn-id: trunk@64555 -
2021-02-12 18:31:09 +00:00
juha
0feb7a5662 Codetools, Debugger: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64465 -
2021-02-05 11:28:11 +00:00
martin
d8007187b8 FpDebug, apps: Compilation fixes
git-svn-id: trunk@63785 -
2020-08-18 23:12:48 +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
e55e3eec50 FpDebug: Refactor OnHitBreakpointEvent
git-svn-id: trunk@63512 -
2020-07-05 19:16:56 +00:00
martin
0aed1400c1 Added FpDbgAvrClasses to uses list so that AVR debugging is available in fpd
Patch/Contributed by ccrause

git-svn-id: trunk@62751 -
2020-03-12 14:21:07 +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
54bbd61a23 Updated project file information. Patch by ccrause
git-svn-id: trunk@62487 -
2020-01-04 15:00:36 +00:00
martin
16a4757fa3 Fixed fpd memory leak caused by dangling TFpDbgMemConvertorLittleEndian.Create instance. Patch by ccrause
git-svn-id: trunk@62485 -
2020-01-04 03:56:59 +00:00
martin
365888b1de Fix fpd memory leak in TBreakPointIdMap. Patch by ccrause
git-svn-id: trunk@62484 -
2020-01-04 03:56:58 +00:00
martin
61e8a903ce FpDebug: FpdCommand, moved "uses fgl" outside ifdef
git-svn-id: trunk@62482 -
2020-01-04 03:36:22 +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
fa44aa0f0b LazDebuggerFp, FpDebug: Refactor FindContext
git-svn-id: trunk@61968 -
2019-10-03 18:38:11 +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
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
82f84c23c4 FpDebug: Remove FlastResult from FindSymbol
git-svn-id: trunk@61937 -
2019-09-28 19:08:15 +00:00
martin
2ec08f8a9c FpDebug: rename TDbgInfo.FindSympol into FindProcSymbol
git-svn-id: trunk@61936 -
2019-09-28 19:08:13 +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
a8233705f3 FpDebug, fpdumpdwarf: partial fix compilation
git-svn-id: trunk@61721 -
2019-08-18 13:43:42 +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
a2744edd0a FpDebug: clean up
git-svn-id: trunk@61420 -
2019-06-18 18:39:24 +00:00
martin
c13bcb61c2 FpDebug, fpd-app: fix some compile errors
git-svn-id: trunk@61335 -
2019-06-07 12:24:00 +00:00
martin
3f6a435b48 FpDebug, fpd-app: fix some compile errors
git-svn-id: trunk@61330 -
2019-06-06 20:45:34 +00:00
martin
9075dc0db1 FpDebug, fpd-app: fix some compile errors
git-svn-id: trunk@61328 -
2019-06-06 20:14:47 +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
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
joost
c20f70ce0c DebuggerIntf: In r49328 #ec422cddc6 the nestedprocvars modeswitch is used. Bug report #28306 shows that this does not work on win32-fpc 2.6.4. Probably a compiler bug. This patch avoids the use of nestedprocvars with fpc versions 2.x.x
git-svn-id: trunk@49396 -
2015-06-21 18:10:51 +00:00
joost
744810b288 FpDebugServer: Added registers command
git-svn-id: trunk@49379 -
2015-06-21 10:11:52 +00:00
joost
6d32f521e9 FpDebugServer: Added locals command
git-svn-id: trunk@49370 -
2015-06-19 20:23:19 +00:00
joost
dc5207067c FpDebugServer: Option to specify LinesBefore added to disassemble command
git-svn-id: trunk@49350 -
2015-06-16 15:08:18 +00:00
joost
a8ae389b6f FpDebugServer: Added disassemble command
git-svn-id: trunk@49287 -
2015-06-07 13:13:58 +00:00
joost
d5bcf79820 FpDebugServer: Fixed possible AV on commands that are executed without a process being running
git-svn-id: trunk@49269 -
2015-06-04 19:26:47 +00:00
joost
f504e38ee7 FpDebugServer: Added setconsoletty command.
git-svn-id: trunk@49268 -
2015-06-04 19:20:35 +00:00
joost
c88aaffaa0 FpDebugServer: Add console-message to json-event-messages.
git-svn-id: trunk@49267 -
2015-06-04 19:11:49 +00:00
joost
5960d41722 FpDebugServer: Re-direct console output
git-svn-id: trunk@49264 -
2015-06-04 17:47:09 +00:00
joost
cfa932781f FpDebugServer: Show function-parameters in callstack
git-svn-id: trunk@49237 -
2015-06-01 20:06:07 +00:00
joost
50fb4a0145 FpDebugServer: Clear the cached call-stack immediately after retrieval
git-svn-id: trunk@49225 -
2015-05-31 09:54:56 +00:00
joost
bda023911d FpDebugServer: Resolved some warnings
git-svn-id: trunk@49213 -
2015-05-29 17:45:22 +00:00
joost
a48ce84628 FpDebugServer: TFpDebugThreadStackTraceCommand added
git-svn-id: trunk@49212 -
2015-05-29 17:40:23 +00:00
joost
56ac4902c2 FpDebugServer: Fixed AV when a script contains an invalid command
git-svn-id: trunk@49178 -
2015-05-26 15:36:23 +00:00
joost
8d4b6344c0 FpDebugServer: Added basic "evaluate" command
git-svn-id: trunk@49166 -
2015-05-25 15:22:59 +00:00
joost
172dbb56d6 FpDebugServer: Added option to run all debug-commands in a (script) file
git-svn-id: trunk@49164 -
2015-05-25 08:37:43 +00:00
joost
3be8873d05 FpDebugServer: Replaced TThreadList in combination with a sleep with a TLazThreadedQueue to improve performance
git-svn-id: trunk@49153 -
2015-05-23 20:11:42 +00:00