[Lazarus] Can Lazarus IDE debugger attach to already running process?
Martin
lazarus at mfriebe.de
Fri Sep 27 22:15:43 CEST 2013
On 27/09/2013 21:12, Martin wrote:
>
> 2) In gdbmidebugger
>
> line 5090
> function TGDBMIDebuggerCommandAttach.DoExecute: Boolean;
>
> line 5123
> // Attach
> if not ExecuteCommand('attach %s', [FProcessID], R) then
> ...
> line 5145
> // Get PID
> NewPID := 0;
>
> Insert after this
> ExecuteCommand('-gdb-set language pascal', [cfCheckError]);
>
> This is currently done before attach. I dont think it makes a
> difference, but I also do not think gdb cares much what I think.
>
> And if it is, it would explain. The values by GDB, are all uppercase.
> The value for the hint is not. If gdb thinks it should be case
> sensitive....
also add the following
| ExecuteCommand('set case-sensitive off|', []);
and if you want, BEFORE and after
| ExecuteCommand('show case-sensitive|', []);
so it can be inspected in the log
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130927/bddca63c/attachment-0003.html>
More information about the Lazarus
mailing list