You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you are developing some internal parts of MORSE, how you check the behavior in execution? Are you using a debugger or you are writing traces in the code? I have tried to use PyCharm to debug the code but I don't know how to do it.
At this moment for debugging MORSE I add the following lines in a internal file (e.g. sensor):
import pdb
pdb.set_trace()
And I launch my simulation using morse start XXXXXXXX. But this means that I have to debug the code in the terminal. Usefull improvements that enhancement pdb are pdb++ and pudb
In addition, could you explain how you typically develop internal code of MORSE?
Thanks in advance.
Kind regards,
-- Diego
The text was updated successfully, but these errors were encountered:
Hi all,
I have a very basic question :-|
When you are developing some internal parts of MORSE, how you check the behavior in execution? Are you using a debugger or you are writing traces in the code? I have tried to use PyCharm to debug the code but I don't know how to do it.
At this moment for debugging MORSE I add the following lines in a internal file (e.g. sensor):
And I launch my simulation using
morse start XXXXXXXX
. But this means that I have to debug the code in the terminal. Usefull improvements that enhancement pdb are pdb++ and pudbIn addition, could you explain how you typically develop internal code of MORSE?
Thanks in advance.
Kind regards,
-- Diego
The text was updated successfully, but these errors were encountered: