masroore / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Command line arguments not updated when debugging #496

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open any file to be run
2. Set some command line arguments
3. Press Shift-F9 (or debug)
4. Press Ctrl-F9 (or run)
5. Enter new command line parameters
6. Press Shift-F9 (or debug)

What is the expected output? What do you see instead?
I expect to see it use the initial command line parameters in steps 3 and 4, 
and the new command line parameters in step 6.  Instead I see no command line 
parameters in step 3, and the initial command line parameters in steps 4 and 6. 
 The new command line parameters are never used.

What version of the product are you using? On what operating system?
2.4.1.0, Windows XP SP3, with Python 2.5.1, remote engine

Please provide any additional information below.

Original issue reported on code.google.com by gokikamu...@gmail.com on 23 Mar 2011 at 8:43

GoogleCodeExporter commented 9 years ago

Original comment by pyscripter on 9 Jun 2011 at 3:19

GoogleCodeExporter commented 9 years ago
This was due to a shortcut conflict.
Shft+F9 was assigned to both Run, Debug and Debug Last Script (button on 
Project Explorer).

So when you were pressing Shift+F9 PyScripter was executing "Debug Last 
Script", hence the observed behaviour.

Change Debug command shortcut to F9 via Tools, Options, IDE Shorcuts and the 
problem will be resolved.  F9 is the Debug command shortcut according to the 
PyScripter help file.

This has not been fixed in version control but in existing installations you 
need to manually change the Debug shortcut to F9.

Original comment by pyscripter on 9 Jun 2011 at 3:51