Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q&A] How to develop functionaltiy in MORSE? #801

Open
dgerod opened this issue Oct 7, 2018 · 0 comments
Open

[Q&A] How to develop functionaltiy in MORSE? #801

dgerod opened this issue Oct 7, 2018 · 0 comments
Labels

Comments

@dgerod
Copy link
Contributor

dgerod commented Oct 7, 2018

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):

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

@dgerod dgerod added the Q&A label Oct 7, 2018
@dgerod dgerod changed the title How to debug MORSE How to develop functionaltiy in MORSE Oct 7, 2018
@dgerod dgerod changed the title How to develop functionaltiy in MORSE [Q%A] How to develop functionaltiy in MORSE? Oct 7, 2018
@dgerod dgerod changed the title [Q%A] How to develop functionaltiy in MORSE? [Q&A] How to develop functionaltiy in MORSE? Oct 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant