-
Notifications
You must be signed in to change notification settings - Fork 354
15.3 rollup #1581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
15.3 rollup #1581
Conversation
|
@digeff can you give this a spin with PZ tomorrow, ping me on what to test. |
note: adding support for the legacy webkit debugger requires changes to the IVsDebugLaunchTargetProvider. So I decided against that for now.
| // marked completed. | ||
| this.currentCommand = this.commandQueue.Take(); | ||
| if (this.currentCommand != null) | ||
| if (this.commandQueue.TryTake(out var command, Timeout.Infinite) && command != null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for this change? I don't see any change in semantics.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take throws an exception when the collection is marked as completed, where TryTake returns false. There was a racecondition I saw a couple of times between Dispose and Take being called.
| // We check the registry to see if any parameters for the node.exe invocation have been specified (like "--inspect"), and append them if we find them. | ||
| var nodeParams = NodejsProjectLauncher.CheckForRegistrySpecifiedNodeParams(); | ||
| if (!string.IsNullOrEmpty(nodeParams)) | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming setupInstance.GetInstallationPath() can return a path with spaces, and this is all just being concated with args into one long string, does this require any quoting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And possibly all the other paths we handle here....
@digeff Thoughts?
| $@"Microsoft\VisualStudio\NodeAdapter\{visualStudioInstallationInstanceID}\out\src\nodeDebug.js"""); | ||
| } | ||
|
|
||
| var target = vsDebugTargetInfo.bstrExe; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the user not specify the working directory to use in the NTVS property pages for the project?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is the open folder scenario though. We don't use the project properties there.
billti
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look into the comments I left. If no issue, looks good to me.
Various fixes we want to get into Update 3 for VS 2017