Commit Graph

239 Commits

Author SHA1 Message Date
martin
07bdec6e7c LazDebuggerFp: Fixed updating breakpoint-state
git-svn-id: trunk@64976 -
2021-04-12 03:44:39 +00:00
martin
4c8ebc85fe LazDebuggerFp: Fixed updating breakpoint-state
git-svn-id: trunk@64963 -
2021-04-10 23:48:14 +00:00
martin
176d2080c3 LazDebuggerFp: fixed race conditions / Cache variables must only be used for calls by main-thread.
git-svn-id: trunk@64888 -
2021-03-28 20:26:25 +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
martin
6857851554 FpDebug/LazDebugger: add asserts for thread safety
git-svn-id: trunk@64542 -
2021-02-11 22:40:29 +00:00
martin
ccf7d87898 LazDebuggerFp: run MemMgr and similar always in Thread to avoid data races
git-svn-id: trunk@64541 -
2021-02-11 22:40:27 +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
2ae82698cb LazDebuggerFp: move breakpoints to thread worker queue
git-svn-id: trunk@64536 -
2021-02-11 22:40:17 +00:00
martin
54bf4844fc LazDebuggerFp: Improve shutdown of thread queue.
git-svn-id: trunk@64535 -
2021-02-11 22:40:15 +00:00
martin
5bbf925ec5 LazDebuggerFp: Split workerthreads into new unit for code running in the thread. (Easier to see which thread may access which objects)
git-svn-id: trunk@64534 -
2021-02-11 22:40:13 +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
3063ca080a LazDebuggerFp: Fixed Crash. Initialize DefaultContext for Locals.
git-svn-id: trunk@64393 -
2021-01-15 19:03:01 +00:00
martin
bc73f7750f LazDebuggerFp: Fix endless loop, in stack supplier.
git-svn-id: trunk@64319 -
2021-01-03 01:37:56 +00:00
martin
b937fb36b5 LazDebuggerFp: Fix crash when stopping debugger. Issue #0038065 / Ensure no background tasks are running when the FpDebug destroys the CurrentProcess (in process-exit event).
git-svn-id: trunk@64266 -
2020-12-22 13:34:55 +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
b5e8644836 LazDebuggerFp: Do not acquire Focus for none-breaking breakpoints (use dsInternalPause). Issue #38219
git-svn-id: trunk@64242 -
2020-12-19 17:06:34 +00:00
martin
557173a500 LazDebuggerFp: remove duplicated code
git-svn-id: trunk@64241 -
2020-12-19 17:06:32 +00:00
martin
cbcc64b6eb LazDebuggerFp: Do not call QuickPause for "delayed removed" breakpoints.
git-svn-id: trunk@64239 -
2020-12-19 17:06:29 +00:00
martin
ff698f9f85 LazDebuggerFp: Do not change the DebuggerState for QuickPause (if only breakpoints need to be set/removed)
git-svn-id: trunk@64238 -
2020-12-19 17:06:27 +00:00
martin
b0afde4a36 LazDebuggerFp: Do not request pause (for breakboint changes) when in "SendEvents" (paused, but no State set yet)
git-svn-id: trunk@64237 -
2020-12-19 17:06:25 +00:00
martin
e2c618e262 FpDebugger: Show classname for functions in stack.
git-svn-id: trunk@64022 -
2020-10-15 18:38:20 +00:00
martin
6156b1bf31 FpDebugDebugger: replace Control-thread with ThreadWorkQueue
git-svn-id: trunk@64020 -
2020-10-15 18:38:16 +00:00
martin
03920381a6 FpDebugger: amend address/line for exceptions (addr was line after caller)
git-svn-id: trunk@63866 -
2020-09-05 00:14:38 +00:00
pascal
e43ef2df62 FpDebug: fixed missing unit
git-svn-id: trunk@63820 -
2020-08-24 06:13:22 +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
d4275fa7e4 LazDebugFp, FpDebug: TestAssert does not set exception frame. Adjust for line before return address
git-svn-id: trunk@63537 -
2020-07-09 14:28:08 +00:00
martin
c84d9e5bfe LazDebugFp, FpDebug: TestAssert does not set exception frame. Search by IP address
git-svn-id: trunk@63535 -
2020-07-08 22:39:00 +00:00
martin
af13ce4b2d LazDebuggerFp: fix searching assert frame
git-svn-id: trunk@63534 -
2020-07-08 22:38:58 +00:00
martin
919849eac7 LazDebuggerFp: Show source location for Hardcoded breakpoint / int3
git-svn-id: trunk@63521 -
2020-07-06 13:00:59 +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
df762f1976 LazDebuggerFp: restructure config for mem limits
git-svn-id: trunk@63511 -
2020-07-05 12:57:21 +00:00
martin
50c0885715 FpDebug/LazDebuggerfp: Make memory limits configurable
git-svn-id: trunk@63509 -
2020-07-05 01:18:32 +00:00
martin
582cb02032 LazDebuggerFp: Detect faulty Assert frame info.
git-svn-id: trunk@63500 -
2020-07-03 13:35:33 +00:00
martin
119607908c FpDebug: show registers according to selected stackframe
git-svn-id: trunk@63460 -
2020-06-28 14:43:11 +00:00
martin
5d80c349fb FpDebug: find stackframe for exception
git-svn-id: trunk@63459 -
2020-06-28 14:43:10 +00:00
martin
4b28988db2 LasDebuggerFp: Better error handling when trying to cast to instance class (show none casted class, if cast not avail)
git-svn-id: trunk@63398 -
2020-06-19 17:45:26 +00:00
martin
f59a294a01 FpDebug: Fixed reading memory for #0 terminated string data
git-svn-id: trunk@63391 -
2020-06-18 18:06:26 +00:00
martin
63b7ef5df1 Debugger: Add text messages for RunErrors
git-svn-id: trunk@63382 -
2020-06-17 16:52:46 +00:00
martin
8f89ad7b07 FpDebug: Catch RunError
git-svn-id: trunk@63381 -
2020-06-17 16:52:14 +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
e84ff269e4 FpDebug: change GetInstanceClassNameFromPVmt to go through TFpDwarfFreePascalSymbolClassMap
git-svn-id: trunk@63356 -
2020-06-15 18:19:02 +00:00
martin
8d02777940 FpDebug: refactor getting instantiated classname.
git-svn-id: trunk@63355 -
2020-06-15 16:18:26 +00:00
martin
3186086cda FpDebug: fix available commands in dsStop
git-svn-id: trunk@63318 -
2020-06-06 18:26:37 +00:00
martin
26272363cd IDE, Debugger: fix r63306 #06b1a964b6 "Fix Run menu, to show correct available debugger commands" -- Do not init the debugger. => Review the entire calculation of available actions in the Run menu. Issue #0037183
git-svn-id: trunk@63317 -
2020-06-06 16:45:12 +00:00
martin
4f5896d680 LazDebuggerFp: Implemented/Corrected StepOverTo and RunTo
git-svn-id: trunk@63305 -
2020-06-06 00:53:48 +00:00
martin
de80bde641 IDE: rename "run to cursor" to "step to cursor" - reflect what it really does
git-svn-id: trunk@63302 -
2020-06-06 00:53:39 +00:00