atom-python-debugger icon indicating copy to clipboard operation
atom-python-debugger copied to clipboard

Python Console running Code

Open SheepDomination opened this issue 8 years ago • 9 comments

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 ?

SheepDomination avatar Sep 23 '17 02:09 SheepDomination

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

dpo avatar Sep 23 '17 02:09 dpo

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 ?

SheepDomination avatar Sep 23 '17 15:09 SheepDomination

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 avatar Sep 24 '17 01:09 dpo

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.

dpo avatar Sep 25 '17 01:09 dpo

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

SheepDomination avatar Sep 25 '17 02:09 SheepDomination

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?

dpo avatar Sep 25 '17 03:09 dpo

I'm using Atom 1.20.1 on Windows10.

SheepDomination avatar Sep 26 '17 03:09 SheepDomination

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

dpo avatar Sep 27 '17 15:09 dpo

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

SheepDomination avatar Oct 02 '17 03:10 SheepDomination