This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
if (ExternalTerminalProvider.getSupportedTerminalIDs().contains(termBaseName)) {
NativeProcessBuilder npb = NativeProcessBuilder.newLocalProcessBuilder();
ExternalTerminal terminal = ExternalTerminalProvider.getTerminal(exEnv, termBaseName);
terminal = terminal.setTitle(Catalog.get("Title_Debugger_External_Terminal")); // NOI18N
if (terminal != null) {
// In the case then "terminal" is null,
// null will be passed to useExternalTerminal and internal terminal will be called.
}
npb.useExternalTerminal(terminal);
npb.setExecutable(gdbHelperScript.getAbsolutePath());
npb.redirectError();