Debugging with PyCharm Basics
- CrashCNC
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
28 Dec 2017 02:33 - 28 Dec 2017 02:34 #103770
by CrashCNC
Debugging with PyCharm Basics was created by CrashCNC
Hi Helpers-
Let me preface that I am a complete noob to linuxcnc and debian linux. I can get my way around basic object oriented programming and have a grasp of some common coding jargon.
I have built linuxcnc following this guidance:
linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
What I would like to do is figure out how to integrate this code with PyCharm to help me debug python sub routine code. This code relies on the linuxcnc python interface. So I cannot run the python code without running linuxcnc to grab initial inputs.
Can someone explain how to have PyCharm launch linuxcnc from the compiled code so I can step and debug my python code?
I don't mind reading and studying myself. I am 100% lost at this point. Weblinks for guidance would be appreciated.
Let me preface that I am a complete noob to linuxcnc and debian linux. I can get my way around basic object oriented programming and have a grasp of some common coding jargon.
I have built linuxcnc following this guidance:
linuxcnc.org/docs/devel/html/code/building-linuxcnc.html
What I would like to do is figure out how to integrate this code with PyCharm to help me debug python sub routine code. This code relies on the linuxcnc python interface. So I cannot run the python code without running linuxcnc to grab initial inputs.
Can someone explain how to have PyCharm launch linuxcnc from the compiled code so I can step and debug my python code?
I don't mind reading and studying myself. I am 100% lost at this point. Weblinks for guidance would be appreciated.
Last edit: 28 Dec 2017 02:34 by CrashCNC.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11252
- Thank you received: 3760
28 Dec 2017 04:51 #103773
by rodw
Replied by rodw on topic Debugging with PyCharm Basics
I use run in place.
I would try to run LInuxcnc from one terminal window, then open another terminal window and run your addon from there.
I would try to run LInuxcnc from one terminal window, then open another terminal window and run your addon from there.
Please Log in or Create an account to join the conversation.
Time to create page: 0.066 seconds