[Numpy-discussion] have to use matlab: what is the equiv. to pdb.pm()

Matthew Brett matthew.brett at gmail.com
Thu Jan 22 17:47:43 EST 2009


Did you say "matlab" ?  ;-)

> I have to debug a matlab program -- is there a way to do a "post
> mortem" debugging ?
> (I don't even know if this term even exists outside of python ;-)
> ((I want to know some local variable values and find out why our
> program crashes when "there are no particles found"...))

I think you want:

>> dbstop if error
>> my_script

Best,

Matthew



More information about the NumPy-Discussion mailing list