EXIT

Finish the debug session or terminate execution of a batch file.

Syntax

EXIT [ALL]

Parameters

None.

Description

This command finishes the debug session if it is used interactively on the debugger command line.

If EXIT is used within a batch file, it terminates the execution of the current batch file.

Example

! Example batch file exit.xdb
set val @test = 0
set val @test=@test+10 
eval @test
exit
! The following commands are not executed.
set val @test=@test+10
eval @test

See Also

For more complete information about compiler optimizations, see our Optimization Notice.