yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #04027
Re: [Question #137026]: Debugging output
Question #137026 on Yade changed:
https://answers.launchpad.net/yade/+question/137026
Anton Gladky proposed the following answer:
Hi, Klaus!
Could you not be more specific, what do you want to debug?
You are working with constitutive law and want to see values of some
variables during simulation?
If so, I would recommend you to insert into the code something like:
std:cerr<<Variable_to_output<<"\n";
And you will get all necessary information.
Personally, I use debug compilation only to get a backtrace during crash
(not just "segmentation fault").
Cheers.
Anton
On Wed, Dec 8, 2010 at 8:26 AM, Klaus Thoeni <
question137026@xxxxxxxxxxxxxxxxxxxxx> wrote:
> New question #137026 on Yade:
> https://answers.launchpad.net/yade/+question/137026
>
> Hi guys!
>
> Can someone tell me how debugging is working in yade? I used the debug
> option when
> compiling and the LOG-statements in the code, but I couldn't get any output
> when running a simulation with yade. How can I get this output?
>
> Thanks
>
> Klaus
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help : https://help.launchpad.net/ListHelp
>
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.