Beispiel #1
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);
 }
Beispiel #2
0
        /// <summary>
        /// Initializes important variables
        /// </summary>
        private void InitBasics()
        {
            String dataPath = Path.Combine(PathHelper.DataDir, "LuaDebugger");

            if (!Directory.Exists(dataPath))
            {
                Directory.CreateDirectory(dataPath);
            }
            this.settingFilename = Path.Combine(dataPath, "Settings.ldb");
            this.pluginImage     = PluginBase.MainForm.FindImage("54|23|5|4");
            breakPointManager    = new BreakPointManager();
            debugManager         = new DebuggerManager();
            liveDataTip          = new LiveDataTip();
        }