mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
Code bulletproofing (added an assert)
This commit is contained in:
parent
7732cae61f
commit
f138b26d24
1 changed files with 2 additions and 0 deletions
|
@ -294,6 +294,8 @@ public class LaunchUtils {
|
|||
return SessionType.REMOTE;
|
||||
} else if (debugMode.equals(IGDBLaunchConfigurationConstants.DEBUGGER_MODE_REMOTE_ATTACH)) {
|
||||
return SessionType.REMOTE;
|
||||
} else {
|
||||
assert false : "Unexpected session-type attribute in launch config: " + debugMode; //$NON-NLS-1$
|
||||
}
|
||||
} catch (CoreException e) {
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue