Skip to content

Commit 49c3e37

Browse files
Debugger changes for 1.1.4 (#407)
This updates the clrdbg package to the 25406 build. This includes fixes for Win7 expression evulation and the System.Task breaking change. This addresses: #258 This also the MIEngine to pull in microsoft/MIEngine#353 Lastly this disables the external console by default. We decided to have it off by default as we have seen some issues with it on OSX (ex: not always closing when the target exits), and we are hoping it will be possible soon to use the new VS Code console window instead. So we decided to turn it off by default, at least for now.
1 parent ddb5c09 commit 49c3e37

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ The C# extension now supports basic debugging capabilities! See http://aka.ms/vs
3434
* Automatic web vs. console debugger configuration detection
3535
* Detach support
3636
* Fix expression evaluation errors when referencing assemblies which aren't currently loaded
37+
* Fix expression evaluation on Windows 7
3738

3839
### Development
3940

debugger.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ Environment variables may be passed to your program using this schema:
131131
}
132132

133133
#####External console (terminal) window
134-
The target process can optionally launch into a seperate console window. This is enabled by default for non-ASP.NET applications. But it can be explicitly set with:
134+
The target process can optionally launch into a seperate console window. You will want this if your console app takes console input (ex: Console.ReadLine). This can be enabled with:
135135

136136
"externalConsole": true
137-
138-
If your console app doesn't take console input (ex: all input comes from the command line), you may want to turn this off.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "csharp",
33
"publisher": "ms-vscode",
4-
"version": "1.1.3",
4+
"version": "1.1.4",
55
"description": "C# for Visual Studio Code (powered by OmniSharp).",
66
"displayName": "C#",
77
"author": "Microsoft Corporation",
@@ -272,7 +272,7 @@
272272
"externalConsole": {
273273
"type": "boolean",
274274
"description": "If 'true' the debugger should launch the target application into a new external console.",
275-
"default": true
275+
"default": false
276276
},
277277
"sourceFileMap": {
278278
"type": "object",
@@ -434,7 +434,7 @@
434434
"args": [],
435435
"cwd": "${workspaceRoot}",
436436
"stopAtEntry": false,
437-
"externalConsole": true
437+
"externalConsole": false
438438
},
439439
{
440440
"name": ".NET Core Launch (web)",

src/assets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function createLaunchConfiguration(targetFramework: string, executableName: stri
139139
program: '${workspaceRoot}/bin/Debug/' + targetFramework + '/'+ executableName,
140140
args: [],
141141
cwd: '${workspaceRoot}',
142-
externalConsole: true,
142+
externalConsole: false,
143143
stopAtEntry: false
144144
}
145145
}

src/coreclr-debug/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ function createProjectJson(targetRuntime: string): any
336336
emitEntryPoint: true
337337
},
338338
dependencies: {
339-
"Microsoft.VisualStudio.clrdbg": "14.0.25320-preview-3008693",
340-
"Microsoft.VisualStudio.clrdbg.MIEngine": "14.0.30531-preview-1",
339+
"Microsoft.VisualStudio.clrdbg": "14.0.25406-preview-3044032",
340+
"Microsoft.VisualStudio.clrdbg.MIEngine": "14.0.30606-preview-1",
341341
"Microsoft.VisualStudio.OpenDebugAD7": "1.0.20527-preview-1",
342342
"NETStandard.Library": "1.5.0-rc2-24027",
343343
"Newtonsoft.Json": "7.0.1",

0 commit comments

Comments
 (0)