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.

View | Details | Raw Unified | Return to bug 255989
Collapse All | Expand All

(-)a/cnd.mixeddev/src/org/netbeans/modules/cnd/mixeddev/debugger/CndSessionChanger.java (+6 lines)
Lines 55-60 Link Here
55
import org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebugger;
55
import org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebugger;
56
import org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager;
56
import org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager;
57
import org.netbeans.modules.cnd.debugger.common2.debugger.NativeSession;
57
import org.netbeans.modules.cnd.debugger.common2.debugger.NativeSession;
58
import org.netbeans.modules.cnd.debugger.common2.debugger.api.EngineType;
59
import org.netbeans.modules.cnd.debugger.common2.debugger.api.EngineTypeManager;
58
import org.netbeans.modules.cnd.debugger.common2.debugger.debugtarget.DebugTarget;
60
import org.netbeans.modules.cnd.debugger.common2.debugger.debugtarget.DebugTarget;
59
import org.netbeans.modules.cnd.debugger.common2.debugger.options.DebuggerOption;
61
import org.netbeans.modules.cnd.debugger.common2.debugger.options.DebuggerOption;
60
import org.netbeans.modules.cnd.debugger.common2.debugger.remote.Host;
62
import org.netbeans.modules.cnd.debugger.common2.debugger.remote.Host;
Lines 95-100 Link Here
95
        Session ret = recognizeSessionByPid(longPid);
97
        Session ret = recognizeSessionByPid(longPid);
96
        if (ret == null) {
98
        if (ret == null) {
97
            final DebugTarget target = new DebugTarget();
99
            final DebugTarget target = new DebugTarget();
100
            EngineType et = EngineTypeManager.getEngineTypeByID("gdb");
101
            if (et != null) {
102
                target.setEngine(et);
103
            }
98
            target.setPid(longPid);
104
            target.setPid(longPid);
99
            target.setHostName("localhost"); // NOI18N
105
            target.setHostName("localhost"); // NOI18N
100
106

Return to bug 255989