No breakpoints in remote debug.
Leon Pollak
leonp at plris.com
Mon Jan 24 08:56:21 GMT 2011
YES!!!!
It worked!
I commented the 'else' line and it started to work as required.
Volodya,
Thousands of thanks!
On Saturday January 22 2011, Vladimir Prus wrote:
> On Saturday, January 22, 2011 13:28:10 Leon Pollak wrote:
> > Volodya,
> > Excuse me, please, for tediousness - but please, only one sentence ...:-)
> >
> > When, at what point are saved breakpoints inserted from kdevelop into
> > gdb? The rest I'll try to understand by myself...
>
> Leon,
>
> breakpoints are inserted in BreakpointController::sendMaybeAll, called from
> BreakpointController::slotEvent when it sees connected_to_program
> event.
>
> That event, in turn, is raised in DebugSession::startProgram -- except that
> it's not raised in the branch that is taked when gdb startup script is
> specified.
>
> It seems like the best solution is to lift
>
> queueCmd(new GDBCommand(GDBMI::FileExecAndSymbols, executable,
> this, &DebugSession::handleFileExecAndSymbols, true));
> raiseEvent(connected_to_program);
>
> code out of 'if' condition, so that it's always executed.
>
> Hope this helps. I would like to be more helpful, but I've just got home
> after a nearly 24-hours travel, so would not be able to do much myself
> until at least Tuesday.
>
> - Volodya
--
Leon
More information about the KDevelop
mailing list