How to run — with arguments

To run a loaded program, with a name passed as a argument, one has to type :c, which is a short for :continue. When the program is running switches to the program screen which is different from that one used by the debugger. In particular, all program keyboard input will be accepted from the program screen. Unfortunately there is no way, at least not in this version, to read the debugged program standard input from a file. It has to be typed in. To switch from the screen the program window use W and return from the visit with any other character.

The program itself may have arguments. In principle there are two methods with which they can be set. Firstly, you may specify them when starting . Everything which follows the name of a loaded executable will be taken as its arguments and copied verbatim to its basepage. A request $p will display the whole basepage and it will allow you to check if you really got what you expected. does not allow for any argument extending schemes and it will trunctate command lines which are too long.

The second method allows you to specify arguments as an optional tail of :c request. Once arguments were set, by any of these methods, they cannot be changed and further attempts to do so will be ignored.

Since both shell command lines and the input line inside of are limited in length, and partially already taken, it may appear that there is no way to fill all available basepage space with program arguments by any method, short of writing directly to a computer memory. As we will see later this is not true, even if it requires a little bit of trickery. (See further descriptions how to define and execute function keys.)

When you are ready to quit, because you are done or lost and wish to start afresh, enter $q. If the debugee process exited of its own accord then will terminate too.