Debugging in Pycharm
- terans1085
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 0
13 Oct 2017 07:09 #100316
by terans1085
Debugging in Pycharm was created by terans1085
Hello,
I was wondering if it is possible to use pycharm to debug python code? My linuxcnc is a normal installation from a bootable image, and I cannot seem to find a way to link.
Thanks for help!
I was wondering if it is possible to use pycharm to debug python code? My linuxcnc is a normal installation from a bootable image, and I cannot seem to find a way to link.
Thanks for help!
Please Log in or Create an account to join the conversation.
13 Oct 2017 12:17 #100319
by jtc
Replied by jtc on topic Debugging in Pycharm
Please Log in or Create an account to join the conversation.
- terans1085
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 0
17 Oct 2017 05:01 #100456
by terans1085
Replied by terans1085 on topic Debugging in Pycharm
I cannot seem to find a linuxcnc-dev folder. I have installed linuxcnc as per instructions on linuxcnc.org/docs/html/getting-started/getting-linuxcnc.html , section 7.2 (Ubuntu Precise).
Apologies for my ignorance in this matter!
Apologies for my ignorance in this matter!
Please Log in or Create an account to join the conversation.
17 Oct 2017 12:19 #100462
by jtc
Replied by jtc on topic Debugging in Pycharm
on Pycharm python console if you make "import linuxcnc" you get a error?
If so, you have to find where the linuxcnc.so file (I believe its a .so file) is on your system (on /lib folder maybe?). I don't have run in place installations so don't know the correct path...
If so, you have to find where the linuxcnc.so file (I believe its a .so file) is on your system (on /lib folder maybe?). I don't have run in place installations so don't know the correct path...
Please Log in or Create an account to join the conversation.
- terans1085
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 0
19 Oct 2017 05:26 #100535
by terans1085
Replied by terans1085 on topic Debugging in Pycharm
No it doesn't!
Searching all the drive I managed to find two copies of linuxcnc.so in /usr/lib/tcltk/linuxcnc and /usr/lib/pyshared/python2.7
Searching all the drive I managed to find two copies of linuxcnc.so in /usr/lib/tcltk/linuxcnc and /usr/lib/pyshared/python2.7
Please Log in or Create an account to join the conversation.
19 Oct 2017 11:58 #100548
by jtc
Replied by jtc on topic Debugging in Pycharm
if you can import linuxcnc without errors, you should be able to debug your code when linuxcnc is runing.
Please Log in or Create an account to join the conversation.
Time to create page: 0.078 seconds