Debugging with commandline parameters

Got a problem you cannot solve? Try here.
paqogomez
Posts: 3
Joined: Mon May 13, 2013 8:16 am

Debugging with commandline parameters

Postby paqogomez » Fri Jun 21, 2013 10:40 am

I have a project in Installaware 10 that has 3 command line parameters that are passed to it from ant on my continuous build server.

The problem that I'm having is that because some of the commands and paths rely on these parameters I cannot debug the project without it erroring.

Is there a way to step through a project (debug) and still pass in some kind of hard coded parameters?

Im thinking of something similar to VS where you can pass in command line arguments in the debug tab of the project.

Thank you.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Debugging with commandline parameters

Postby FrancescoT » Mon Jun 24, 2013 7:03 am

Dear User,

unfortunately, it is not possible to specify in the IA IDE command line arguments while debugging.

As workaround, you can forcibly set at the very beginning of your script, the values of those variables that you currently pass via command line.
You could place them CONDITIONALLY within a custom compiler variable.

For example;

Code: Select all

[compiler if Variable DEBUG Equals TRUE]
Set Variable MYVAR to MYVALUE
[compiler end]


Obviously, do not forget to set the above custom compiler variable as FALSE when you completed your debugging phase.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 65 guests