mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 15:52:26 +01:00
Author:admin
Date:2009-11-13T15:17:42.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@355 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -3,16 +3,27 @@
|
||||
[[Property:uuid|6ed5890a-9b23-210a-5640-cee348d6e27e]]
|
||||
Breakpoints are entities that stop a debugged application. Breakpoints can be put at the beginning of each execution line, so that it is possible to see the context in which the line is executed before executing it.
|
||||
|
||||
In EiffelStudio, breakpoints are represented as circles in the left margin of flat views (both [[Feature formatters: Flat view|feature flat view]] and [[Class formatters: Flat view|class flat view]] ). Breakpoints can be in three different states: enabled ( [[Image:bp-enabled-icon]] ), disabled ( [[Image:bp-disabled-icon]] ), or not set ( [[Image:bp-slot-icon]] ). Only enabled breakpoints will stop the application when they are encountered. By default, breakpoints are not set. Disabled breakpoints are useful to temporarily discard a breakpoint, while keeping the possibility to put it back quickly. Enabled and disabled breakpoints can have an associated an associated [[Breakpoint menu|condition]] . They are then shown as [[Image:bp-enabled-conditional-icon]] and [[Image:bp-disabled-conditional-icon]] .
|
||||
In EiffelStudio, breakpoints are represented as circles in the left margin of flat views (both [[Feature formatters: Flat view|feature flat view]] and [[Class formatters: Flat view|class flat view]] ).
|
||||
Breakpoints can be in three different states: '''enabled''' ( [[Image:bp-enabled-icon]] ), '''disabled''' ( [[Image:bp-disabled-icon]] ), or '''not set''' ( [[Image:bp-slot-icon]] ).
|
||||
|
||||
Only enabled breakpoints will stop the application when they are encountered. By default, breakpoints are not set.
|
||||
Disabled breakpoints are useful to temporarily discard a breakpoint, while keeping the possibility to put it back quickly.
|
||||
|
||||
Enabled and disabled breakpoints can have an associated '''[[Breakpoint menu|condition]]''' . They are then shown as [[Image:bp-enabled-conditional-icon]] and [[Image:bp-disabled-conditional-icon]] .
|
||||
|
||||
Left-clicking on a breakpoint in a flat view changes the state of the breakpoint: it switches from not set to enabled, from enabled to not set, and from disabled to enabled. Removing a conditional breakpoint discards its condition.
|
||||
|
||||
The [[Breakpoint editing|breakpoint menu]] lets you change the state of one breakpoint, whereas the [[Breakpoint commands|breakpoint commands]] let you change the state of several breakpoints at a time. The [[Breakpoint information command|breakpoint information command]] shows the state of all set breakpoints.
|
||||
|
||||
{{note|You can toggle the status of a breakpoint easily using shortcuts<br/> - '''F9''': toggle between enabled/not-set. <br/> - '''Shift+F9''': toggle between enabled/disabled.<br/> - '''Ctrl+F9''': open the breakpoint dialog for [[Breakpoint editing|editing]]. }}
|
||||
|
||||
{{note|Breakpoints cannot be set in all features. In particular, breakpoints cannot be set in external features or attributes. <br/>
|
||||
However, breakpoints can now be set in assertions (require and ensure). }}
|
||||
|
||||
{{tip|Under Windows, breakpoints can be set on-the-fly while the application is running. }}
|
||||
{{tip|Breakpoints can be set on-the-fly while the application is running. }}
|
||||
|
||||
|
||||
{{tip|You can relocate a breakpoint by '''Ctrl+RightClick''' on a breakpoint [[Image:bp-enabled-conditional-icon]] and '''Ctrl+RightClick''' on an empty breakpoint location [[Image:bp-slot-icon]] }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
[[Property:title|Execution profiles]]
|
||||
[[Property:weight|-13]]
|
||||
[[Property:uuid|90e64e1c-b5fc-e150-9901-50daffaac893]]
|
||||
While working on a project, you may want to launch it 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 one or more arguments, on specific working directory, and you may want to change the environment variables.
|
||||
|
||||
Those parameters are done by changing the execution profiles. For that you need to use the "Execution parameters" dialog.
|
||||
Those parameters are done by changing the execution profiles. For that you need to use the '''Execution parameters''' dialog.
|
||||
|
||||
*How to open this dialog?
|
||||
** From the '''Execution, Execution parameters" menu.
|
||||
* 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.
|
||||
|
||||
==Using the Execution parameters' dialog==
|
||||
@@ -16,16 +16,16 @@ Those parameters are done by changing the execution profiles. For that you need
|
||||
|
||||
The dialog allows you to manage different execution profiles to specify parameters to be passed to the system at execution time.
|
||||
|
||||
Each profile allows to set a title, the '''arguments''', the '''working directory''', and you can also set your own '''environment variables'''.
|
||||
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..
|
||||
|
||||
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 '''default''' 's profile.
|
||||
To run without any particular parameter select the '''default''' profile.
|
||||
|
||||
If you click on "Run Workbench" or "Run Finalized", the system will be executed outside EiffelStudio (thus no debugging)..
|
||||
If you click on "Run Workbench" or "Run Finalized", the system will be executed outside EiffelStudio (thus debugging is unavailable)..
|
||||
|
||||
{{tip|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 "&-", 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 "&-*"). }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4,26 +4,9 @@
|
||||
While working on a project, you may want to launch it with one or more arguments.
|
||||
|
||||
There are two ways to specify arguments for a program from EiffelStudio:
|
||||
* From the '''Debug, Debugging Options''' menu.
|
||||
* From the '''Execution, Execution parameters''' menu.
|
||||
* By right-clicking any of the buttons on the debugging toolbar.
|
||||
|
||||
==Using the Argument Dialog==
|
||||
|
||||
[[Image:argument-dialog]]
|
||||
|
||||
|
||||
|
||||
The dialog allows you to manage different execution profiles to specify parameters to be passed to the system at execution time.
|
||||
|
||||
Each profile allows to set a title, the '''arguments''', the '''working directory''', and you can also set your own '''environment variables'''.
|
||||
|
||||
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 '''default''' 's profile.
|
||||
|
||||
If you click on "Run Workbench" or "Run Finalized", the system will be executed outside EiffelStudio (thus no debugging)..
|
||||
|
||||
|
||||
See the [[Execution profiles|Execution parameters dialog]] for more details.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user