Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29278 Discussions

How to debug an executable that takes command line arguments?

OP1
New Contributor III
462 Views
How can I debug a code which reads command arguments from the command line it is launched from? More specifically, how do I provide these arguments to the code when I am debugging from VS 2005? I am using IVF 10.1.

Thanks!

Olivier
0 Kudos
2 Replies
lklawrie
Beginner
462 Views

In the project properties window, under configuration, debugging (I am using VS2008, hope it's similar for 2005), there is a place for command line arguments. Put your arguments there.

Linda
0 Kudos
OP1
New Contributor III
462 Views
Quoting - lklawrie

In the project properties window, under configuration, debugging (I am using VS2008, hope it's similar for 2005), there is a place for command line arguments. Put your arguments there.

Linda

Aaaargh... That was so simple! I can't believethis escaped my attention... Dumb, dumber, dumberer... I am getting there slowly...

Thanks a lot Linda!

Olivier
0 Kudos
Reply