Bug 14222 - Debug tooltip not shown on ASP.NET MVC Razor view pages
Summary: Debug tooltip not shown on ASP.NET MVC Razor view pages
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: Trunk
Hardware: All All
: Low normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2013-08-24 04:39 UTC by runerl
Modified: 2015-08-02 12:52 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 14222 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description runerl 2013-08-24 04:39:47 UTC
A month or two (Monodevelop built from git), debug tooltips stopped working on Razor view pages in ASP.NET MVC web apps.

The pending breakpoints on the Razor view page are hit all right, but no debug tooltip pops up on hover. 

I have only briefly skimmed the source code, but it seems that no usable SyntaxTree is returned from the GetAst() call on the MonoDevelop.AspNet.Mvc.Parser.RazorCSharpParsedDocument. Is it an NRefactory problem?

A zipped test project can be found here http://www.runerm.dk/DebugTooltipTest.zip.txt.
Comment 1 Mike Krüger 2013-08-24 04:46:32 UTC
NRefactory doesn't know anything about razor - I suspect it's something in the razor binding.
Comment 2 Mikayla Hutchinson [MSFT] 2013-09-03 14:56:18 UTC
It looks like the debugger's fallback to just use words if there isn't a resolver has broken?