octave-maintainers
[Top][All Lists]
Advanced

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

Re: Help with keyboard


From: Rik
Subject: Re: Help with keyboard
Date: Fri, 26 Jul 2019 08:50:42 -0700

On 07/26/2019 08:36 AM, "Markus Mützel" wrote:
> Am Dienstag, 23. Juli 2019 um 19:44 Uhr schrieb "John W. Eaton":
>> On 7/23/19 1:21 PM, Clark Dunson wrote:
>>> Now matlab is confused:
>>>
>>>  >> KrugerPDOPAnalysis
>>> Undefined function or variable 'Kruger'.
>>>
>>> Error in KrugerPDOPAnalysis (line 21)
>>> arr = Kruger;
>> I don't know what might have caused that.
>>
>>> 21  arr = Kruger;
>>> K>> tst_dbp2
>>> dbstack
>>>  > In tst_dbp2 (line 6)
>>> dbquit
>>> dbnext
>>> Undefined function or variable 'dbnext'.
>> In Octave, dbnext is an alias for dbstep.  I think Matlab only has dbstep.
>>
> I might be a little late to the show. But here is what I see in Matlab R2019a:
>
>
>>> tst_dbp2
> K>> tst_dbp2
> K>> dbstack
>> In tst_dbp2 (line 6)
>   In tst_dbp2 (line 6)
> K>> dbquit
> K>> dbstep
> 8   y = 2;
> K>> dbstack
>> In tst_dbp2 (line 8)
> K>> dbquit
>
Markus,

So if I understand correctly, the prompt that Matlab uses when it enters
the debugger via the keyboard command is "K>>".

Is the regular debug prompt just ">>"?  For example, if you use "dbstop
tst_dbp2" to set a breakpoint and then run the script with "tst_dbp2" what
is the prompt?

--Rik



reply via email to

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