thegooglecodearchive / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 1 forks source link

Unable to step into a file executed with function execfile #217

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Editra version : 0.7.01
Plugin : PyStudio / PyDebug
Plugin version : 0.4

1. Create a file hierarchy like this :

--scripts
  |_ subscripts
    |_ subscript_1.py
    |_ ...  
  |_ script_1.py
  |_ ...

2. Add into subscript_1.py the line : print "Hello World"
3. Add into script_1.py the line : execfile("subscripts/subscript_1.py") 
4. Add breakpoint on the last line
5. Launch script_1 with PyDebug
6. Try to step into subscript_1.py
7. Status bar displays message "Invalid file : .../scripts/subscript_1.py"

PyDebug tries to open file "scripts/subscript_1.py" rather than 
"scripts/subscripts/subscript_1.py". 

Regards.

Thierry BRIZZI.

Original issue reported on code.google.com by thierry....@gmail.com on 31 Aug 2012 at 8:26

GoogleCodeExporter commented 9 years ago
Don't remember any fixes along these lines but suggest updating to PyStudio 0.7 
and Editra 0.7.12 to recheck the current behavior.

Original comment by CodyPrec...@gmail.com on 6 Sep 2012 at 2:21