set a breakpoint in matlab when dbstop not working
for some reason or another, i can't get dbstop to work (running matlab7 on "os x"). even manually setting a breakpoint in the matlab editor doesn't work.
as expected, this makes debugging quite difficult.
fortunately, i've rediscovered this handy function:
keyboardjust stick this in wherever you'd like your code to pause and grant you keyboard access.
2 Comments:
yes, this has been very useful!
- fellow MIT student
'Keyboard' works for me as well. -But why doesen´t the "red dots" do the trick anymore? Is this a path/pwd issue?
I have R13(6.5) installed.
/"Matlab-inmate" from Denmark.
Post a Comment
Links to this post:
Create a Link
<< Home