/// <summary> /// 获取调试器窗口。 /// </summary> /// <param name="path">调试器窗口路径。</param> /// <returns>要获取的调试器窗口。</returns> public IDebuggerWindow GetDebuggerWindow(string path) { if (string.IsNullOrEmpty(path)) { return(null); } int pos = path.IndexOf('/'); if (pos < 0 || pos >= path.Length - 1) { return(InternalGetDebuggerWindow(path)); } string debuggerWindowGroupName = path.Substring(0, pos); string leftPath = path.Substring(pos + 1); DebuggerWindowGroup debuggerWindowGroup = (DebuggerWindowGroup)InternalGetDebuggerWindow(debuggerWindowGroupName); if (debuggerWindowGroup == null) { return(null); } return(debuggerWindowGroup.GetDebuggerWindow(leftPath)); }
/// <summary> /// 获取调试窗口。 /// </summary> /// <param name="path">调试窗口路径。</param> /// <returns>要获取的调试窗口。</returns> public IDebuggerWindow GetDebuggerWindow(string path) { return(m_DebuggerWindowRoot.GetDebuggerWindow(path)); }