Ejemplo n.º 1
0
        public frmCondBreak(CProject.Breakpoint breakpt)
        {
            this.breakpt = breakpt;

            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Ejemplo n.º 2
0
        public frmCondBreak(CProject.Breakpoint breakpt)
        {
            this.breakpt = breakpt;


            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
Ejemplo n.º 3
0
        public static void DebugAddBreakpoint(CWFile File, int line, int pass_count, bool clear_after_hit, string conditional)
        {
            AssertOpenProject("DebugAddBreakpoint");
            AssertValidFile(File, "DebugAddBreakpoint");

            CProject.File file = GetFile(File);

            // Create a new instance of the breakpoint
            CProject.Breakpoint bp = new CProject.Breakpoint(file, line, pass_count, ((conditional == "") ? "true" : conditional));

            if (clear_after_hit == true)
            {
                throw new PluginException("NotImplemented: clear_after_hit cannot equal true.  The enhanced telnetdebugger does not support this attribute yet.", "DebugAddBreakpoint");
            }

            // Add the breakpoint
            g.Project.ProjectBreaks.Add(bp);
        }
Ejemplo n.º 4
0
        public static void DebugAddBreakpoint(CWFile File, int line, int pass_count, bool clear_after_hit, string conditional)
        {
            AssertOpenProject("DebugAddBreakpoint");
            AssertValidFile(File, "DebugAddBreakpoint");

            CProject.File file = GetFile(File);

            // Create a new instance of the breakpoint
            CProject.Breakpoint bp = new CProject.Breakpoint(file, line, pass_count, ((conditional == "") ? "true" : conditional));

            if (clear_after_hit == true)
                throw new PluginException("NotImplemented: clear_after_hit cannot equal true.  The enhanced telnetdebugger does not support this attribute yet.", "DebugAddBreakpoint");

            // Add the breakpoint
            g.Project.ProjectBreaks.Add(bp);
        }