Skip to content
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

Enabled debugging services in Roslyn branch #1428

Merged
merged 6 commits into from Aug 16, 2016
Merged

Enabled debugging services in Roslyn branch #1428

merged 6 commits into from Aug 16, 2016

Conversation

OmarTawfik
Copy link
Contributor

Added the following two services:

  • BreakpointResolutionService: which locates the correct span a breakpoint should be placed at.
  • LanguageDebugInfoService: which displays a data tip over variables when in debugging mode.

Screenshot below:

image

@OmarTawfik
Copy link
Contributor Author

@Microsoft/fsharp-compiler

| Some(textSpan) -> new DebugDataTipInfo(textSpan, sourceText.GetSubText(textSpan).ToString())
}

Async.StartAsTask(computation, TaskCreationOptions.None, cancellationToken).ContinueWith(fun(task: Task<DebugDataTipInfo>) ->
Copy link
Contributor

Choose a reason for hiding this comment

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

Factor out this Async.StartAsTask() pattern maybe? I'm seeing it three times.

@OmarTawfik OmarTawfik merged commit 910611c into dotnet:roslyn Aug 16, 2016
@OmarTawfik OmarTawfik deleted the roslyn-debugging branch August 16, 2016 20:32
@CyrusNajmabadi
Copy link
Member

Looks ok to me.

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.

None yet

5 participants