![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
User-State FilesCreating a User-State File
Use a user-state file to save your personal preferences. For example, to propagate Constraint_Error by default when you debug any program with Apex:
- 1. . Begin debugging some program.
- 2. . Clear the debugger state by executing the Debugger State > Clear command.
- 3. . Set the exception to be propagated by executing the Debug > Propagate command. Enter Constraint_Error on the Exception line and make sure the Propagate diamond is selected.
- 4. . Save this setting by executing the Debugger State > Save command and select the Save Exceptions Setting entry.
- 5. . Save the debugger state to the user-state file using the Debugger State > Save command.
Using a User-State File
When you start debugging a program, the user-state file is read according to the algorithm described in Processing State Files.
You can also read any debugger file at any time during debugging using the Debugger State > Read. The new state information is added on top of the existing state information.
More information on user-state files can be found in Using the Apex Debugger.
Additional Topics
Rational Software Corporation http://www.rational.com support@rational.com techpubs@rational.com Copyright © 1993-2001, Rational Software Corporation. All rights reserved. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |