Command lines arguments with Debug
Debug does not handle handle scripts command line arguments
I am trying to use Debug with console scripts. Many of the scripts I write have arguments passed to them on the command line. I know that running a console script from within ThinAir changes the arguments but my scripts can handle that OK. However Debug seems to remove the arguments altogether.
I wrote a test script which printed out its arguments and then ran it from ThinAir with the single argument 5 . The result was:-
[@l "C:\OpenNMR\!!commands\basic\size.tbasicc" 5]
[@l]
["C:\OpenNMR\!!commands\basic\size.tbasicc"]
[5]
When using Debug the output was:-
[@d "C:\OpenNMR\!!commands\basic\size.tbasicc"]
[@d]
["C:\OpenNMR\!!commands\basic\size.tbasicc"]
I hope this is enough information.
Thanks,
Malcolm