Commit Graph

65 Commits

Author SHA1 Message Date
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
martin
9cd0d830c4 LazDebuggerFpLLDB: fix mem leak in locals
git-svn-id: trunk@59848 -
2018-12-18 13:50:09 +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
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
e41b09b476 LazDebuggerFpLLDB: Fix locals, need registers first
git-svn-id: trunk@59806 -
2018-12-12 17:21:46 +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
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
8952e4f073 lldb debuggers: added license info / fp-lldb now beta
git-svn-id: trunk@59491 -
2018-11-08 12:14:08 +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
martin
a588c248ff LazDebugger, lldb: more step continue from except
git-svn-id: trunk@58931 -
2018-09-10 15:54:21 +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