Day 3 of the evaluation - still debugging the debugger - and YAB !!!
I have found some problems with the IDE operation when trying to pass command line parameters to the batch file.
I can't find any doco on how to use the "Display/Modify Batch Parameters" so the following may all be a result of my failure to use it correctly.
By experimentation, it appears that this is a "free text" edit control that allows any entry regardless of correctness.
I am currently using it as 1 line per batch parameter based on the current behaviour of the IDE I have observed and will report in "First BUG" further down in this post.
Each line consists of a commandline parameter position number (for %n) and its intended value
e.g. 1=380
2="sn0209ar.dsk"
-------------------------------------------
The First "BUG":-
When the batch file is started, the IDE replaces the entered batch parameters with something out of it's memory of a previous commandline
See screen shot "IDE - batch parameters BEFORE pressing [Run].jpg"
and screen shot "IDE - batch parameters AFTER pressing [Run].jpg"
here is the screen shot when stepped to line 8 "IDE - Modified and Watch lists AFTER running to line 8.jpg"
So both the "skip" and "search" variables have had completely different and unusable values put into them
------------------------------------------------------------------------------
The Second "BUG":-
When the batch run is finished, the Batch Parameters list is emptied and all parameters have to be re-entered before the next run.
------------------------------------------------------------------------------
The Third "BUG":-
If you use the "Save" function on the Batch Parameters list, it saves the current content of the list as a unicode text file. Obviously this is not the bug, but may be the cause of it.
When you use the "Open" function to reload the list, the previously saved list is truncated
See screen shot "IDE - batch parameters after loading from previous save.jpg"
At the moment, this doesn't matter because the First BUG noted above replaces the content of this list before the batch runs.
Errol
I have found some problems with the IDE operation when trying to pass command line parameters to the batch file.
I can't find any doco on how to use the "Display/Modify Batch Parameters" so the following may all be a result of my failure to use it correctly.
By experimentation, it appears that this is a "free text" edit control that allows any entry regardless of correctness.
I am currently using it as 1 line per batch parameter based on the current behaviour of the IDE I have observed and will report in "First BUG" further down in this post.
Each line consists of a commandline parameter position number (for %n) and its intended value
e.g. 1=380
2="sn0209ar.dsk"
-------------------------------------------
The First "BUG":-
When the batch file is started, the IDE replaces the entered batch parameters with something out of it's memory of a previous commandline
See screen shot "IDE - batch parameters BEFORE pressing [Run].jpg"
and screen shot "IDE - batch parameters AFTER pressing [Run].jpg"
here is the screen shot when stepped to line 8 "IDE - Modified and Watch lists AFTER running to line 8.jpg"
So both the "skip" and "search" variables have had completely different and unusable values put into them
------------------------------------------------------------------------------
The Second "BUG":-
When the batch run is finished, the Batch Parameters list is emptied and all parameters have to be re-entered before the next run.
------------------------------------------------------------------------------
The Third "BUG":-
If you use the "Save" function on the Batch Parameters list, it saves the current content of the list as a unicode text file. Obviously this is not the bug, but may be the cause of it.
When you use the "Open" function to reload the list, the previously saved list is truncated
See screen shot "IDE - batch parameters after loading from previous save.jpg"
At the moment, this doesn't matter because the First BUG noted above replaces the content of this list before the batch runs.
Errol
Last edited: