Return not working when debugging?

It seems as though when I type in return for 2015b in mac it does not continue with the code. Is anyone else having this problem?

4 Comments

Where do you type "return"? Do you mean dbcont ?
I have the same problem. When in keyboard mode and I type "return", keyboard mode is not exited. I get:
>> keyboard
K>> return
K>>
whereas it should be
>> keyboard
K>> return
>>
Mikael Brun
Mikael Brun on 21 Jan 2016
Edited: Mikael Brun on 21 Jan 2016
I have this trouble too, on linux. Anyone found a solution? Except using the dbcont command
Why can you not use dbcont if that is exactly its purpose?

Sign in to comment.

Answers (2)

I found this same issue when I recently upgraded to 2016a. While 'return' during debugging would resume execution in older versions of Matlab, it appears that this syntax is no longer supported. You can use 'dbcont' instead: dbcont
K R. Rad
K R. Rad on 5 Nov 2015
Edited: Walter Roberson on 21 Jan 2016
I have the same problem. When in keyboard mode and I type "return", keyboard mode is not exited. I get:
>> keyboard
K>> return
K>>
whereas it should be
>> keyboard
K>> return
>>

Categories

Asked:

on 2 Oct 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!