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 (show other bugs)
Version: Trunk
Hardware: All All
: Low normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-08-24 04:39 UTC by runerl
Modified: 2015-08-02 12:52 UTC (History)
1 user (show)

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


Attachments

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?

Note You need to log in before you can comment on or make changes to this bug.