简体   繁体   中英

Python cross development platform for beaglebone black

I want to use my pc to debug a Python program running on beaglebone black to control GPIO just like what derek molloy did in this video " http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development/ " the beagle's cloud9 IDE supports python only for running the code and not debugging

How can i do remote debugging in beagle using python?

The BeagleBone is a computer like an other, with a complete Linux distribution running on it. So every solution working with a remote PC work on it.

For exemple:

  • You can directly connect the Beaglebone thru SSH, using editor directly on it (vi(m), nano, emacs), and control execution directly on it using the pdb debugger
  • You can edit your file on your computer with the IDE you want and send them thru SFTP, and control execution thru SSH.
  • Using an IDE supporting remote debugging like PyCharm or PyDev.

Some pointer for PyDev: http://pydev.org/manual_adv_remote_debugger.html http://brianfisher.name/content/remote-debugging-python-eclipse-and-pydev

And for PyCharm: http://www.jetbrains.com/pycharm/webhelp/remote-debugging.html

(the necessary remote part are the same for the two IDE and come from PyDev)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM