コード例 #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();
        }
コード例 #2
0
ファイル: PluginMain.cs プロジェクト: heon21st/flashdevelop
        /// <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();
        }