DamnWidget / anaconda

Anaconda turns your Sublime Text 3 in a full featured Python development IDE including autocompletion, code linting, IDE features, autopep8 formating, McCabe complexity checker Vagrant and Docker support for Sublime Text 3 using Jedi, PyFlakes, pep8, MyPy, PyLint, pep257 and McCabe that will never freeze your Sublime Text 3
http://damnwidget.github.io/anaconda/
GNU General Public License v3.0
2.21k stars 260 forks source link

Minimal debugging tools for Python #54

Open DamnWidget opened 11 years ago

DamnWidget commented 11 years ago

Add minimal debugging tools so the developer can place breakpoints and inspect variables (for example) using anaconda builder.

NorthIsUp commented 9 years ago

+1 This would be a life saver. Do you have any ideas on how to implement this? I'd like to help.

DamnWidget commented 9 years ago

Unfortunately I am not using Python too much nowadays as I am using Golang more often, I would take a look at what PyDev is doing (as it have even a remote debugger that is pretty cool) to get some ideas from there.

EivindArvesen commented 9 years ago

I'm late to the party, but I'd also like to help.

Maybe Spyder could be leveraged. The library provides a variable explorer (source) and debugging features, amongst other things.

EivindArvesen commented 9 years ago

I've been thinking more about this as of late. The Sublime Text package Python Breakpoints shows how breakpoints may be implemented.

In addition to this and what I've mentioned in the previous comment I've also been inspired by the Atom package Hydrogen.

As I've got some spare time these days I'm thinking about trying to implement something. Does anyone have any preference as to what variable inspection should look like?

DamnWidget commented 9 years ago

Hi @eivind88 Looking forward to see how you progress on that, we need contributors as I don't have too much time as I am not working with Python professionally anymore.

EivindArvesen commented 9 years ago

No progress on breakpoints or variable inspection as of yet, but I've hacked together a quick proof of concept for inline eval/exec of Python code. evalpy

It's very much inspired by the functionality of the Hydrogen package for Atom (as seen below). hydrogen

Is this something that you think would be appropriate as an Anaconda feature?