Commit Graph

171 Commits

Author SHA1 Message Date
martin
57e759e6ee GdbmiDebugger: publish new config properties
git-svn-id: trunk@64886 -
2021-03-28 20:26:21 +00:00
martin
4b10871614 GdbmiDebugger: fix missing inherited call / for TRefCountedObject
git-svn-id: trunk@64884 -
2021-03-28 20:26:17 +00:00
martin
b7ca687f37 Debugger, GDBMI: Fix uninitialized result
git-svn-id: trunk@64880 -
2021-03-28 13:18:05 +00:00
martin
8c6c10dd8b DebuggerGdbmi: Deal with cygwin path
git-svn-id: trunk@64877 -
2021-03-27 23:50:46 +00:00
martin
d515edebc4 Debugger, GDBMI: ArgC/Env/ExeName Utf8 handling for cygwin builds
git-svn-id: trunk@64875 -
2021-03-27 23:50:41 +00:00
juha
9046b533af LazUtils: New LazStartsStr and similar functions. StartsStr etc. in StrUtils return False for empty sub-string, thus Delphi incompatible.
git-svn-id: trunk@64743 -
2021-03-04 08:58:54 +00:00
martin
3205592cba GdbmiDebugger: Fix formatting result value / broken somewhere in recent "string speedup" changes
git-svn-id: trunk@64742 -
2021-03-03 20:13:24 +00:00
martin
433bb3d412 Debugger: Fix updating CPU Register values. Issue #0038534
git-svn-id: trunk@64674 -
2021-02-27 01:00:10 +00:00
martin
d4fabf2c65 DebuggerGdbmi/DebugIntf: fix address calculation, do not calc negative addresses. Patch by Christo Crause Issue #0032240
git-svn-id: trunk@64545 -
2021-02-11 23:27:25 +00:00
juha
077ebbe494 Optimise string manipulation. Reduce calls to Copy().
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +00:00
juha
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +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
4733d3b7a1 Fix compilation with FPC 3.0.4.
git-svn-id: trunk@64498 -
2021-02-05 20:07:12 +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
juha
b796837ec3 Debugger: Support detection of GDB 10.x and higher. Issue #38034.
git-svn-id: trunk@64106 -
2020-11-05 11:47:30 +00:00
martin
a87befd71c Debugger, GDBMI: Fix debugger state after debugger was unable to launch exe. Make sure cmd queue is empty.
git-svn-id: trunk@63967 -
2020-10-07 23:40:24 +00:00
martin
7ab3261e30 Debugger: Notify if debugged app, exits with error code. Issue #37861
git-svn-id: trunk@63950 -
2020-10-04 14:24:46 +00:00
martin
0b1a412658 GdbmiDebugger: fix marking register as modified
git-svn-id: trunk@63912 -
2020-09-23 21:11:46 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
martin
bf03175720 GDBMIDebugger: ignore exceptions from the IDE, when calling the eval/hint callback
git-svn-id: trunk@63740 -
2020-08-15 02:29:43 +00:00
martin
16b3c7f07b GDBMIDebugger: Watch with empty expression should not stop queue execution (stall further watches, ...)
git-svn-id: trunk@63648 -
2020-07-24 22:39:04 +00:00
martin
63b7ef5df1 Debugger: Add text messages for RunErrors
git-svn-id: trunk@63382 -
2020-06-17 16:52:46 +00:00
martin
1ac05df5e7 Debugger, GDBMI: fix r63308 #c0e6dd10c0 "internal pause for changing breakpoint" => reset PauseWaitState
git-svn-id: trunk@63353 -
2020-06-14 21:01:47 +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
8af26f2ec7 Debugger, GDBMI: fixed calling callback-event twice in case of errors (cancel + done), leading to crash in event
git-svn-id: trunk@63309 -
2020-06-06 01:37:36 +00:00
martin
c0e6dd10c0 Debugger, GDBMI: fix internal pause for changing breakpoint (or retrieving line info), so the current command can continue.
git-svn-id: trunk@63308 -
2020-06-06 00:53:53 +00:00
martin
e4d3c2df74 Debugger, GDBMI: add real RunTo
git-svn-id: trunk@63307 -
2020-06-06 00:53:51 +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
martin
50b0a3f2f6 Debugger, GDBMI: Use force flag for exception breakpoints (at startup). Required for debugging dll. Only works if InternalExceptionBreakSetMethod = imbName
git-svn-id: trunk@62610 -
2020-02-04 03:04:51 +00:00
martin
3de674b205 Debugger, GDBMI: Keep original error when trying alternative filenames.
git-svn-id: trunk@62609 -
2020-02-04 03:04:44 +00:00
martin
15caf20a2c GdbmiDebugger: If setting a break condition fails, mark breakpoint as invalid (it may still be breaking at that line, but the condition is not avail)
git-svn-id: trunk@62501 -
2020-01-05 15:42:22 +00:00
martin
f8622385f7 LazDebuggerGdbmi: Win64-SEH, fix stepping out of finally block, if the block was entered without exception
git-svn-id: trunk@62333 -
2019-12-07 02:00:04 +00:00
martin
180e3b09f6 DebuggerGdbMI: Improved setting breaks for exception stepping. Detect some errors, and reduce unnecessary retries
git-svn-id: trunk@62323 -
2019-12-03 22:11:57 +00:00
martin
9fbffccd0d DebuggerGdbMI: Fixed Win-64bit Step-to-exception for ignored exception, the except block must be skipped / Fixed clearing temp breakpoints
git-svn-id: trunk@62322 -
2019-12-03 22:11:56 +00:00
martin
59b37b9fc9 DebuggerGdbMI: Fixed Win-64bit debugging. Revision r62314 #5cb2cd173d changed setting of RtlUnwindEx, leading to massive unexpected pausing of the target
git-svn-id: trunk@62321 -
2019-12-03 22:11:54 +00:00
martin
5cb2cd173d LazDebuggerGdbmi: Step to finally/except for Win64 SEH
git-svn-id: trunk@62314 -
2019-11-29 02:54:51 +00:00
martin
fc6e94c911 Debugger, GDBmi: Fix step-over incorrectly steps-into. Introduced in r62284 #c93e1c6d7e Enable Step-over to enter finally blocks under Win64-SEH
git-svn-id: trunk@62302 -
2019-11-27 01:52:38 +00:00
martin
c93e1c6d7e Debugger, GDBmi: Enable Step-over to enter finally blocks under Win64-SEH
git-svn-id: trunk@62284 -
2019-11-22 21:22:37 +00:00
juha
4f5e491d4e LazDebugger: Move used units inside IFDEFs to prevent compiler hints saying "unit not used".
git-svn-id: trunk@62154 -
2019-11-02 07:23:21 +00:00
martin
3c61b503c0 Partly revert r62149 #bab4d7305b / fix compile win / issue #36241
git-svn-id: trunk@62151 -
2019-11-01 13:05:04 +00:00
juha
bab4d7305b Remove unused units from uses sections.
git-svn-id: trunk@62149 -
2019-10-31 23:12:37 +00:00
martin
bb55284e92 GdbmiDebugger/Server: FIX Add ability to inject gdb-commands specified by user.
git-svn-id: trunk@61890 -
2019-09-16 20:05:05 +00:00
martin
9ef0d523bc Added Macro Substitution to ExecuteUserCommands. Patch by Michael Ring
git-svn-id: trunk@61889 -
2019-09-16 15:15:04 +00:00
martin
63cb1e20c9 GdbmiDebugger/Server: Add ability to inject gdb-commands specified by user. Based on patch by Michael Ring
git-svn-id: trunk@61888 -
2019-09-16 15:15:03 +00:00
martin
e35fc25db7 GdbmiServerDebugger: Added stop on disconnect. Issue #0036076
git-svn-id: trunk@61886 -
2019-09-16 01:31:10 +00:00
martin
daa6b60cf4 GdbmiDebugger: Less overhead to set breakpoints on raise/catch/... - Add break by name (after prologue) to set breakpoints for dyn libraries (gdb will set/extend breakpoint, when dll is loaded)
git-svn-id: trunk@61646 -
2019-07-31 12:40:58 +00:00
martin
b57481b1b8 GdbmiDebugger: dgbsNone - use GdbRunCommand() to get correct command to start target
git-svn-id: trunk@61593 -
2019-07-15 22:06:02 +00:00
martin
1caa4b3b33 GDBMI-Debugger: Option "gdbsNone" to start without internal start break.
This may not work on all platforms, depending on how gdb reports the target-PID.
This should work for all/any gdb-server session

git-svn-id: trunk@61588 -
2019-07-14 19:10:35 +00:00
martin
ac17315ae2 GdbmiDebugger: introduce option to disable exception handling (e.g. for embedded, or disable run-error if they get caught as exception too)
git-svn-id: trunk@61557 -
2019-07-10 12:41:27 +00:00
martin
ff1657deea Debugger-Config: Allow individual LRU list for gdb vs lldb
git-svn-id: trunk@61554 -
2019-07-09 19:20:08 +00:00