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.
Debugging with commandline parameters
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Debugging with commandline parameters
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;
Obviously, do not forget to set the above custom compiler variable as FALSE when you completed your debugging phase.
Regards
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
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
Who is online
Users browsing this forum: No registered users and 65 guests