← Back to team overview

yade-users team mailing list archive

Re: [Question #702251]: debugging yade

 

Question #702251 on Yade changed:
https://answers.launchpad.net/yade/+question/702251

    Status: Open => Answered

Robert Caulk proposed the following answer:
One of the simplest ways to debug python is to use

import pdb

then insert:

pdb.set_trace()

Where you want to stop and examine the scope.

Otherwise, you should be able to add breakpoints in your IDE similar to
how you do it with C++.

Cheers,

Robert

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.