FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

15.3 rollup by paulvanbrenk · Pull Request #1581 · microsoft/nodejstools · GitHub

15.3 rollup - #1581

Merged
Paul van Brenk (paulvanbrenk) merged 6 commits into
microsoft:masterfrom
paulvanbrenk:15.3rollup
May 19, 2017
Merged

15.3 rollup#1581
Paul van Brenk (paulvanbrenk) merged 6 commits into
microsoft:masterfrom
paulvanbrenk:15.3rollup

Conversation

Copy link
Copy Markdown
Contributor

Various fixes we want to get into Update 3 for VS 2017

Copy link
Copy Markdown
Contributor Author

digeff can you give this a spin with PZ tomorrow, ping me on what to test.

Paul van Brenk added 4 commits May 17, 2017 15:00
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)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

What's the reason for this change? I don't see any change in semantics.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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))
{

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

And possibly all the other paths we handle here....

digeff Thoughts?

$@"Microsoft\VisualStudio\NodeAdapter\{visualStudioInstallationInstanceID}\out\src\nodeDebug.js""");
}

var target = vsDebugTargetInfo.bstrExe;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can the user not specify the working directory to use in the NTVS property pages for the project?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yes, this is the open folder scenario though. We don't use the project properties there.

Bill Ticehurst (billti) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Look into the comments I left. If no issue, looks good to me.

Paul van Brenk (paulvanbrenk) merged commit 1c02088 into microsoft:master May 19, 2017
Paul van Brenk (paulvanbrenk) deleted the 15.3rollup branch May 19, 2017 18:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL