Debug Qt figure with callback and functions

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Debug Qt figure with callback and functions

Doering, Hendrik

Hello,
i would like to us the debug option of octave for bug fixing.
Unfortunately these bugs only appears after several changes with the sliders/inputs of the figure and at this time breakpoints aren't valid any more.
They are working fine, for the first plot and the first refresh of the ploted values, but after that octave is completely ignoring them.
Thanks for helping me out. 😊

Best regards
Hendrik




breakpoint.JPG (14K) Download Attachment
GUI_figure.JPG (94K) Download Attachment
slider_input.JPG (41K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Debug Qt figure with callback and functions

siko1056
On 11/26/19 1:33 AM, Doering, Hendrik wrote:

> Hello,
> i would like to us the debug option of octave for bug fixing.
> Unfortunately these bugs only appears after several changes with the
> sliders/inputs of the figure and at this time breakpoints aren't valid
> any more.
> They are working fine, for the first plot and the first refresh of the
> ploted values, but after that octave is completely ignoring them.
> Thanks for helping me out. 😊
>
> Best regards
> Hendrik
>


Dear Hendrik,

If you want to break inside m-code, you can try to insert the
keyboard()-function [1] instead of setting a breakpoint.

HTH,
Kai

[1] https://octave.org/doc/v5.1.0/XREFkeyboard.html


Reply | Threaded
Open this post in threaded view
|

AW: Debug Qt figure with callback and functions

Doering, Hendrik

Hi Kai,
thanks, this command is indeed working no matter what and with if condition combined very useful.
A good work around when breakpoints aren't working...
Have a good start for this week and thanks again for helping.

Greetings
Hendrik


Von: Kai Torben Ohlhus <[hidden email]>
Gesendet: Samstag, 30. November 2019 15:06:21
An: Doering, Hendrik; [hidden email]
Betreff: Re: Debug Qt figure with callback and functions
 
On 11/26/19 1:33 AM, Doering, Hendrik wrote:
> Hello,
> i would like to us the debug option of octave for bug fixing.
> Unfortunately these bugs only appears after several changes with the
> sliders/inputs of the figure and at this time breakpoints aren't valid
> any more.
> They are working fine, for the first plot and the first refresh of the
> ploted values, but after that octave is completely ignoring them.
> Thanks for helping me out. 😊
>
> Best regards
> Hendrik
>


Dear Hendrik,

If you want to break inside m-code, you can try to insert the
keyboard()-function [1] instead of setting a breakpoint.

HTH,
Kai

[1] https://octave.org/doc/v5.1.0/XREFkeyboard.html