Probs with the debugger

Ralf Nolden nolden at kde.org
Tue Aug 28 11:37:01 BST 2001


On Dienstag, 28. August 2001 12:18, you wrote:

I don't know if I'm correct but shouldn't the process you start be attatched 
to the debugger here ?

Ralf
> Hi all,
>
> I habe a problem with debugging my code. In a KProcess Stdout function,
> debugging isn't possible !?
>
> Here the code:
>
> --- begin ---
>
> (...)
>
> process->start( KProcess::NotifyOnExit, KProcess::AllOutput )
>
> connect( process, SIGNAL(receivedStdout (KProcess *, char *, int) ),
> this, SLOT(slotImageStdout (KProcess *, char *, int) ));
>
> (...)
>
> void myApp::slotImageStdout( KProcess *, char *buffer, int buflen) {
>
> (...)
>
> }
>
> (...)
>
> --- end ---
>
> In 'slotImageStdout', debugging fails ! If I set an breakpoint in this
> function, the debugger will not break or the app destroys !
> In all other functions the debugger works correctly and stops at the
> breakpoints !
>
> What is that ? Anybody an idea ?
>
>
> THX
> Kai
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body: unsubscribe
> »your-email-address«

-- 
We're not a company, we just produce better code at less costs.
--------------------------------------------------------------------
Ralf Nolden
nolden at kde.org

The K Desktop Environment	The KDevelop Project
http://www.kde.org		http://www.kdevelop.org


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list