[Lazarus] Can Lazarus IDE debugger attach to already running process?

Martin lazarus at mfriebe.de
Thu Sep 19 16:21:59 CEST 2013


On 19/09/2013 15:01, Graeme Geldenhuys wrote:
> On 2013-09-19 14:05, Martin wrote:
>> [1] Just realising, the attach module does not currently "fix" this
>> extra thread. It should probably automatically select the main thread.
> OK, selecting thread 1 does help a bit, and after some trial and error I
> get to the breakpoint of the infinite while look.
>
> I can't evaluate or set the local integer variable [that controls the
> while loop] though.
>
> Can Lazarus IDE allow me to  set the EIP register address? I can view
> it, and I can change the 'eip' name in the Register window (WTF???), but
> I can't see how to set the EIP register to another value. What I am
> trying is to jump over the while loop, seeing that I can't change the
> local integer variable.
>
>
Try the evaluate/modify window: (crtl F7)

You can enter $eip  and then set a new value. (return in the "new value" 
edit)

(Though shamefully admitted, the register window does not show the new 
value / but it will be set)






More information about the Lazarus mailing list