octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging output


From: LachlanA
Subject: Re: Debugging output
Date: Sun, 31 Jan 2016 16:57:40 -0800 (PST)

Daniel Sebald wrote
>  From what I remember, the stderr/stdout/signal handling is a delicate 
> thing in the GUI/core setup.  There were several bug/patch reports along 
> the way, but I don't think an acceptable solution ever emerged.
> 
> ... it might have side effects like cntrl-C not working correct 
> or whatnot.  My guess is you won't find a quick fix, although an 
> in-depth fix might be possible.  But there are multiple platforms to 
> consider, so...
> 
> Search around the Qt documentation for "qt debugging techniques", or 
> "qDebug", and such.  Maybe that will help.

Thanks, Dan.  That is good background to know.  I'll put it low down on the
to-do list :)

Regarding qDebug, that only works for printing in the Qt portion of the code
itself.  If GUI behaviour causes a crash in Octave core code, then
stderr/cerr is still useful, and Qt doesn't provide a stack trace, AFAICT.




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Debugging-output-tp4674580p4674587.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]