octave-maintainers
[Top][All Lists]
Advanced

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

Re: Debugging and the GUI Editor; Qt help needed


From: John W. Eaton
Subject: Re: Debugging and the GUI Editor; Qt help needed
Date: Thu, 28 Mar 2013 12:07:40 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121122 Icedove/10.0.11

On 03/28/2013 10:55 AM, Torsten wrote:
On 28.03.2013 15:44, John W. Eaton wrote:

Thanks.  Should we also scroll the window to keep the position marker
(the yellow arrow) near the center?

After the debugger has stopped, the yellow arrow points to the line with
the cursor which is in the center. Or do I get you wrong?

No, I see now that it works. Thanks. I thought your change was about centering the window around the location of the breakpoint marker (the red dot).

Showing command ans editor window side by side is possible but should we
really destroy the users window layout during debugging?

I think Matlab splits the window, but maybe someone could confirm?

There's probably no way to please everyone here. So long term, I think the behavior may need to be customizable. But for now, it would be good enough to just have a reasonable default and worry about allowing customization later.

What I do not understand is that the directory of the function is
correctly set before setting the breakpoint but obviously without having
any effect. Changing the directory manually and then setting the
breakpoint works fine.

I'll have to look at it.

Can you give a precise recipe for the problem? Are you setting the breakpoint from the editor with a file already open there? What is the current directory when it works/fails? Are you setting the breakpoint in a script or a function?

jwe




reply via email to

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