[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38983] Debugger does a dbcont in response to
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #38983] Debugger does a dbcont in response to workspace right mouse button function |
Date: |
Tue, 14 May 2013 03:50:20 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
URL:
<http://savannah.gnu.org/bugs/?38983>
Summary: Debugger does a dbcont in response to workspace
right mouse button function
Project: GNU Octave
Submitted by: sebald
Submitted on: Tue 14 May 2013 03:50:19 AM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
When in debug mode, looking at the workspace variable using the right mouse
click "disp()" routine will cause the debugger to continue. As an example,
open uigetfile.m in the editor window and set a breakpoint at the first line
inside the function, i.e.,
if (! __octave_link_enabled__ ())
then type "uigetfile" at the command line in the terminal window.
When the debugger breaks, type "disp(varargin)". I see:
>> uigetfile
stopped in
/usr/local/src/octave/octave/build-gui-11/../octave/scripts/plot/uigetfile.m
at line 68
68: if (! __octave_link_enabled__ ())
debug> disp(varargin)
{}(0x0)
debug>
Now, do the equivalent command via the workspace. Right click on the variable
"varargin" in the workspace window and select "disp(varargin)". The debugger
will continue as though a "dbcont" was issued and the file selector pops up.
Pressing "cancel" results in
debug> disp(varargin)
{}(0x0)
debug> disp (varargin);
ans = 0
>>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38983>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #38983] Debugger does a dbcont in response to workspace right mouse button function,
Dan Sebald <=