Ejemplo n.º 1
0
        /// <summary>
        /// Initializes important variables
        /// </summary>
        void InitBasics()
        {
            String dataPath = Path.Combine(PathHelper.DataDir, "FlexDbg");

            if (!Directory.Exists(dataPath))
            {
                Directory.CreateDirectory(dataPath);
            }

            this.settingFilename = Path.Combine(dataPath, "Settings.FlexDbg");
            String bkPath = Path.Combine(dataPath, "Breakpoints");

            if (!Directory.Exists(bkPath))
            {
                Directory.CreateDirectory(bkPath);
            }

            this.pluginImage = PluginBase.MainForm.FindImage("51");

            PluginBase.MainForm.BreakpointsEnabled = true;

            breakPointManager = new BreakPointManager();
            debugManager      = new DebuggerManager();
            liveDataTip       = new LiveDataTip();
        }
Ejemplo n.º 2
0
        public BreakPointUI(PluginMain pluginMain, BreakPointManager breakPointManager)
        {
            init();

            this.pluginMain = pluginMain;
            this.breakPointManager = breakPointManager;
            this.breakPointManager.ChangeBreakPointEvent += new ChangeBreakPointEventHandler(breakPointManager_ChangeBreakPointEvent);
            this.breakPointManager.UpdateBreakPointEvent += new UpdateBreakPointEventHandler(breakPointManager_UpdateBreakPointEvent);
            this.Controls.Add(this.dgv);
        }
Ejemplo n.º 3
0
        public BreakPointUI(PluginMain pluginMain, BreakPointManager breakPointManager)
        {
            init();

            this.pluginMain        = pluginMain;
            this.breakPointManager = breakPointManager;
            this.breakPointManager.ChangeBreakPointEvent += new ChangeBreakPointEventHandler(breakPointManager_ChangeBreakPointEvent);
            this.breakPointManager.UpdateBreakPointEvent += new UpdateBreakPointEventHandler(breakPointManager_UpdateBreakPointEvent);
            this.Controls.Add(this.dgv);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Initializes important variables
        /// </summary>
        void InitBasics()
        {
            String dataPath = Path.Combine(PathHelper.DataDir, "FlexDbg");

			if (!Directory.Exists(dataPath))
				Directory.CreateDirectory(dataPath);

			this.settingFilename = Path.Combine(dataPath, "Settings.FlexDbg");
            String bkPath = Path.Combine(dataPath, "Breakpoints");

			if (!Directory.Exists(bkPath))
				Directory.CreateDirectory(bkPath);

            this.pluginImage = PluginBase.MainForm.FindImage("51");

            PluginBase.MainForm.BreakpointsEnabled = true;

			breakPointManager = new BreakPointManager();
            debugManager = new DebuggerManager();
            liveDataTip = new LiveDataTip();
        }