Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-02

gdb

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Unknown author: Is gdb working? Options/files: gdb /urs/bin/gdb Pressing F4 or after creating a…
Hi, Is gdb working?

Yes

Options/files: gdb /urs/bin/gdb

Is your gdb located at /urs/bin/gdb ? (note urs)

Pressing F4 or after creating a breakpoint

That doesn't work correct yet. Breakpoints aren't passed to the debugger if they are set before the debugger is initialized, but pressing F9 (run) then Pause and then set the brakpoint should work.

and pressing F9 seems run according to menu but form editor, objinsp, ... works

AFAIK they aren't disabled while running.

and I can't pasue or stop the "running" program. It has no window.

OK, after a while after you press run, a dialog pops up that the execution has stopped, if you pres OK the execution will continue. (I'm not sure if I've committed that code, so you might see no dialog)

If things still don't work, open the debug output window View -> Debug windows -> Debug Output

and give me the output while starting your app.

Oh, eh, BTW, in the Run Parameters dialog, on the Local tab, make sure that "Use launch application" is not checked (make it sure by clicking twice on it)

Marc

Reply by email

Unknown author

Hi,

Is gdb working?
Options/files: gdb /urs/bin/gdb
Pressing F4 or after creating a breakpoint and pressing F9 seems run according to menu but form editor, objinsp, ... works and I can't pasue or stop the "running" program. It has no window. I have to restart lazarus.

Is it gtk specific: writing source, clicking on another window than clicking back (or ALT + TAB) if you type it appears on the right position but no blinking cursor.

Thanks, Joe

Reply by email