Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

How to debug an executable that takes command line arguments?

OP1
New Contributor III
468 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
468 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
468 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