示例#1
0
            public void handleRunning()
            {
                DebuggerFileView  DebuggerFileView  = "DebuggerFileView";
                DebuggerCallStack DebuggerCallStack = "DebuggerCallStack";
                GuiTextCtrl       DebuggerStatus    = "DebuggerStatus";

                DebuggerFileView.setCurrentLine(-1, true);
                DebuggerCallStack.clear();
                DebuggerStatus.setValue("RUNNING...");
            }
示例#2
0
        public static void DbgOpenFile(string file, int line, bool selectLine)
        {
            DebuggerFileView DebuggerFileView = "DebuggerFileView";
            TCPDebugger      TCPDebugger      = "TCPDebugger";

            if (file != "")
            {
                // Open the file in the file view.
                if (DebuggerFileView.open(file))
                {
                    // Go to the line.
                    DebuggerFileView.setCurrentLine(line, selectLine);
                    // Get the breakpoints for this file.
                    if (file != omni.sGlobal["$DebuggerFile"])
                    {
                        TCPDebugger.send("BREAKLIST " + file + "\r\n");
                        omni.sGlobal["$DebuggerFile"] = file;
                    }
                }
            }
        }