dpo / atom-python-debugger

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

debugs wrong script #14

Closed kieppie closed 6 years ago

kieppie commented 7 years ago

When debugging, it runs against an older script & not the one presently open/working on. Closed all other scripts & inserted numerous break-points in the one presently working on, but it still opens the old one & executes/debugs against that one.

Only solution atm is to (optionally: completely close all scripts working on & then) close the IDE, open the script I do want to debug, insert break-points & run/step/debug again

environ: Ubuntu 16.04.1 LTS, 4.4.0-51-generic, x86_64 (fresh VM) Atom 1.12.6 python-debugger 0.1.0

bhagsukraj commented 6 years ago

I have the same issue .

dpo commented 6 years ago

After you stop the debugger, you can change the file to be run by the debugger by entering e=/path/to/script.py in the box that says "> Enter debugger commands here". Doesn't that work for you?

dpo commented 6 years ago

36 should help.