Debugging in Pycharm

More
9 years 2 weeks ago #100316 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!

Please Log in to join the conversation.

More
9 years 2 weeks ago #100319 by jtc

Please Log in to join the conversation.

More
9 years 2 weeks ago #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!

Please Log in to join the conversation.

More
9 years 1 week ago #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...

Please Log in to join the conversation.

More
9 years 1 week ago #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

Please Log in to join the conversation.

More
9 years 1 week ago #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 to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum