Commit Graph

78 Commits

Author SHA1 Message Date
Martin
315be6c5e1 LazDebuggerFpLldb: Add option for IntrinsicPrefix and "modeswitch AutoDeref" . 2023-06-08 16:04:09 +02:00
Martin
6228dce2f2 FpLLDBDebugger: remove "beta" remark 2023-06-01 19:57:41 +02:00
Martin
1b03a8aff4 FpDebug+Lldb: Allow to deref constant numbers, and show a memory-dump. Issue #36836 2023-05-19 18:21:03 +02:00
Martin
badfeecb5d Debugger: renamed several interfaces, changing "T" prefix to "I" prefix 2023-03-22 19:41:24 +01:00
Martin
3c9f94e806 LazDebuggerFpLldb: Fixed mem leak, introduced in "New interface for retrieving locals." 2023-03-02 20:34:50 +01:00
Martin
faf2fe7a80 FpLldb-Debugger: added mem-limits 2023-03-02 20:11:47 +01:00
Martin
1caa678dcf Debugger: Clean up debugln without log_group 2023-03-02 19:56:37 +01:00
Martin
179dc59dc6 Debugger: New interface for retrieving locals. 2023-03-02 19:56:37 +01:00
Martin
319649fbe6 Debugger: Check quality of debugger in setup 2023-01-08 04:48:14 +01:00
Martin
8cd89c5af8 Debugger: Moved backend registration to initialization section 2023-01-08 04:36:58 +01:00
Martin
bf6c6ba4d9 Debugger: set default for "enable dwarf" dialog 2022-09-27 12:16:13 +02:00
Martin
76d9771c34 Debugger: More LazDebuggerIntf. Add/Improve numeric, pointer, float and string watches 2022-03-24 00:39:04 +01:00
Martin
8d3d08ae4c Debugger: Moved dsState to new unit 2022-03-24 00:39:03 +01:00
Martin
6cded56ae9 LazDebuggerFpLLDB/Gdbmi: Fix cached context 2022-02-10 23:30:23 +01:00
Martin
d1ac568e96 Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
Martin
7f9e1893d2 Rename TDBGEvaluateFlag to TWatcheEvaluateFlag 2022-01-10 14:08:35 +01:00
Martin
9922733232 FpLldbDebug: reg-num for Apple M1 2021-08-01 19:23:01 +02:00
martin
8b81b7cfd3 Debugger: Revert recent upper/lowercase changes
git-svn-id: trunk@64570 -
2021-02-13 14:30:50 +00:00
martin
068feeb931 FpDebug: remove MemMgr.DefaultContext. All MemRead/Write must go via a location-context.
git-svn-id: trunk@64554 -
2021-02-12 18:31:07 +00:00
juha
b53ad7ceed Components: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64506 -
2021-02-08 19:09:30 +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
809ce9c782 LazDebuggFpLldb: fix freeing an uninitialized object. (Locals dlg)
git-svn-id: trunk@64358 -
2021-01-08 23:07:53 +00:00
martin
35d829c943 Debuggers (FpLLDB, FpGDBMI): add some safety checks. Do not free dwarf, in the middle of watch eval
git-svn-id: trunk@63786 -
2020-08-18 23:12:49 +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
martin
be7b855369 FpDebug: Introduce configurable limits for mem usages / display len of array or string
git-svn-id: trunk@63397 -
2020-06-19 17:45:24 +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
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
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
cbe21ff4f3 FpDebug: implement watching bitpacked array/record
git-svn-id: trunk@62012 -
2019-10-09 20:06:21 +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
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
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
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
9c1b94fd8f LazDebuggerFpLldb: fix correct context for eval in thread.
git-svn-id: trunk@60431 -
2019-02-15 19:57:42 +00:00
martin
ea6abfeb17 LazDebuggerFpLldb: correctly initialize pretty-printer
git-svn-id: trunk@60084 -
2019-01-14 20:15:08 +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
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
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
06b7314a08 LazDebuggerFpLldb: fix crash in shutdown (stop debug while paused)
git-svn-id: trunk@60005 -
2019-01-05 15:27:37 +00:00
martin
1268d65651 LazDebuggerFpLldb: fix pre-loading correct registers
git-svn-id: trunk@60001 -
2019-01-04 18:38:36 +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
0b45975fa0 LazDebuggerFpLLDB: fix mem leak in cache
git-svn-id: trunk@59850 -
2018-12-18 13:59:00 +00:00