-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
* Fixing File writing for EngineLogger With the Natvis Diagnostics Logger work, the file logger would fail since it would not close the file. This PR also runs 'File.CreateText' in MIDebugCommandDispatcher so errors can be caught earlier and not set an invalid file path.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -403,6 +403,16 @@ private void LaunchDebugTarget(string filePath, string options) | |
private void EnableLogging(bool sendToOutputWindow, string logFile) | ||
{ | ||
ThreadHelper.ThrowIfNotOnUIThread(); | ||
|
||
IVsDebugger debugger = (IVsDebugger)GetService(typeof(IVsDebugger)); | ||
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Release)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vs_build (Debug)
Check warning on line 407 in src/MIDebugPackage/MIDebugPackagePackage.cs GitHub Actions / windows_vscode_build
|
||
DBGMODE[] mode = new DBGMODE[] { DBGMODE.DBGMODE_Design }; | ||
int hr = debugger.GetMode(mode); | ||
|
||
if (hr == VSConstants.S_OK && mode[0] != DBGMODE.DBGMODE_Design) | ||
{ | ||
throw new ArgumentException("Unable to update MIDebugLog while debugging."); | ||
} | ||
|
||
try | ||
{ | ||
MIDebugCommandDispatcher.EnableLogging(sendToOutputWindow, logFile); | ||
|