No breakpoints in remote debug.
Vladimir Prus
ghost at cs.msu.su
Sat Jan 22 11:16:05 GMT 2011
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
More information about the KDevelop
mailing list