96979899100101102103104105106
} }); Sdk sdk = GoSdkUtil.getGoogleGoSdkForProject(project); if ( sdk == null ) { debugSession.stop(); return null; } final GoSdkData sdkData = (GoSdkData)sdk.getSdkAdditionalData(); if ( sdkData == null ) {
102103104105106107108109110111112
return null; } final GoSdkData sdkData = (GoSdkData)sdk.getSdkAdditionalData(); if ( sdkData == null ) { debugSession.stop(); return null; } GdbDebugProcess debugProcess = ((GdbDebugProcess) debugSession.getDebugProcess());
112113114115116117118119120121122
String goRootPath; try { goRootPath = (new File(sdkData.GO_GOROOT_PATH)).getCanonicalPath(); } catch (IOException ignored) { debugSession.stop(); return null; } final Gdb gdbProcess = debugProcess.m_gdb;