dpo / atom-python-debugger

IDE-like Python debugger for Atom
MIT License
42 stars 13 forks source link

Python Console running Code #31

Open SheepDomination opened 7 years ago

SheepDomination commented 7 years ago

I'm experiencing an issue whereas python-debugger won't print code regardless if the file is saved or not. Clicking run produces no result on the code ?

dpo commented 7 years ago

Could you describe all the steps so I can try to reproduce?

SheepDomination commented 7 years ago

I first installed the package then I'll set the syntax highlighting to python for example within Atom; followed by typing print("Hello Mango") then load up python-debugger and clicking run. What I'm expecting to see is the result of print("Hello Mango") which would be Hello Mango within the python-debugger console.

I've also tried as suggested in the thread on the Atom forum to save the file in this case suppose I save the file as MangoPrint.py followed by clicking on run within python-debugger. I expect to see Hello Mango from within python-debugger console, instead in both situations I get errors from the console of python-debugger ?

dpo commented 7 years ago

In this demo, I click on "Step" after "Run", but I could also have clicked "Continue". I hope this helps.

2017-09-23 21_24_19

dpo commented 7 years ago

Please reply on the issue tracker so we can properly document the difficulties you're facing. In a terminal window, are you able to execute "python"? If Python is in a nonstandard location, you can specify it in this package's settings.

SheepDomination commented 7 years ago

This is the result of when doing what you had demonstrated. python-debugger

dpo commented 7 years ago

Now you seem to be running into #25. Unfortunately, I don't know how to reproduce. What system are you running and what version of Atom?

SheepDomination commented 7 years ago

I'm using Atom 1.20.1 on Windows10.

dpo commented 7 years ago

Are you using Python 3? Could you check if the issue persists when you use Python 2?

SheepDomination commented 7 years ago

The python executable for python-debugger is set to Python 2 (2.7)