Feed on
Posts
Comments

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:

keyboard

just stick this in wherever you’d like your code to pause and grant you keyboard access.


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

2 Responses to “set a breakpoint in matlab when dbstop not working”

  1. on 31 Jul 2006 at 3:52 pm Anonymous

    yes, this has been very useful!

    - fellow MIT student

  2. on 19 Sep 2006 at 2:29 pm Anonymous

    ‘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.

Did I get this wrong? Let me know!

Trackback URI | Comments RSS