So I have my program running with input from a file:
ie Project Menu -> Properties -> Debugging -> Command Arguments -> I have:
Code:< inputfile.txt
The program works fine when I run without debugging. It loads the input from the file just fine...
Now, when I want to debug, and stop at breakpoints etc, it *IGNORES* that file completely.
Why? Is there any way to debug WITH command line arguments (input from file)?



LinkBack URL
About LinkBacks




;" to the start of your program, execute it from a command prompt, and then once the program it running, attach your debugger to the running proces and move the execution point to the next statement.