Author:halw

Date:2009-11-13T16:43:03.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@356 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2009-11-13 16:43:03 +00:00
parent 99f41503ab
commit 6a55b61bf4
4 changed files with 28 additions and 13 deletions

View File

@@ -1,13 +1,13 @@
[[Property:title|Execution profiles]]
[[Property:weight|-13]]
[[Property:uuid|90e64e1c-b5fc-e150-9901-50daffaac893]]
While working on a project, you may want to launch your system with one or more arguments, on specific working directory, and you may want to change the environment variables.
While working on a project, you may want to launch your system with values for one or more arguments, specify a working directory, and/or change certain environment variables.
Those parameters are done by changing the execution profiles. For that you need to use the '''Execution parameters''' dialog.
* Open this dialog either:
** From the EiffelStudio menu path: <code>Execution -> Execution parameters</code> .
** By right-clicking any of the buttons on the debugging/execution toolbar.
* You can open this dialog in either of two ways:
** Follow the EiffelStudio menu path: <code>Execution -> Execution parameters</code> .
** Right-click any of the buttons on the debugging/execution toolbar.
==Using the Execution parameters' dialog==
@@ -18,14 +18,15 @@ The dialog allows you to manage different execution profiles to specify paramete
Each profile lets you set a title, the '''arguments''', the '''working directory''', as well as your own '''environment variables'''.
To use a profile, just select it by clicking the corresponding line in the grid..
To use a profile, just select it by clicking the corresponding line in the grid.
Once the appropriate execution profile is selected then the system can be run with those parameters using the Run button (If "Keep Dialog Open" is selected the dialog remains opened).<br/>
To run without any particular parameter select the '''default''' profile.
To run without any particular parameters, select the '''default''' profile.
If you click on "Run Workbench" or "Run Finalized", the system will be executed outside EiffelStudio (thus debugging is unavailable)..
If you click on "Run Workbench" or "Run Finalized", the system will be executed outside EiffelStudio (thus debugging is unavailable).
{{tip|From version 6.5, you can unset an environment variable FOO by adding the "&-FOO" to the environment variables, by prefixing with "&-", this marks the variable "FOO" to be removed. If you use "&-*", all variables will be removed (except the one you can still add after this "&-*"). }}
{{tip|From version 6.5, you can unset an environment variable FOO by adding the "&-FOO" to the environment variables. By prefixing with "&-", you mark the variable "FOO" to be removed. If you use "&-*", all variables will be removed (except for any that you add to the list after the "&-*" entry). }}

View File

@@ -1,10 +1,10 @@
[[Property:title|Run with arguments]]
[[Property:weight|-14]]
[[Property:uuid|0c8c089c-f953-3337-87dc-09a0c8150c21]]
While working on a project, you may want to launch it with one or more arguments.
While working on a project, you may want to launch your system with one or more arguments.
There are two ways to specify arguments for a program from EiffelStudio:
* From the '''Execution, Execution parameters''' menu.
There are two ways to access the '''Execution Parameters''' dialog which lets you specify arguments to be used by your system when launched from EiffelStudio:
* By following the EiffelStudio menu path: <code lang="text">Execution -> Execution parameters</code> .
* By right-clicking any of the buttons on the debugging toolbar.
See the [[Execution profiles|Execution parameters dialog]] for more details.