This project is read-only.

NerdDinner debugging error, MVC Mini profiler

Jan 13, 2012 at 4:14 PM

Hi I have "installed" NerdDinner and it's working nicely. 

I am now trying to debug it, in order to try out a few things. However It seems like MVC Mini profiler is interfering with the debugging. 

I basically just set a break point at HomeController.cs at public ActionResult Index(){ ...  -and it goes fine until it has to return the View ( Return View(); ). Here I get an error page saying "No Source Available", There is no source available for the current location. 

The error page return following information:


Call stack location:

MVCMiniProfiler.CLL!MVCMiniProfiler.MVCHelpers.ProfilingActionFilter.OnActionExecuted(System.Web.Mvc.ActionExecutedContext filterContext) Line 58


Source file information

Locating source for 'C:\Users\myusername\Desktop\mvc-mini-profiler\MvcMiniProfiler\MVCHelpers\ProfilingActionFilter.cs'. Checksum: MD5 {4e ...}The file 'C:\Users\myusername\Desktop\mvc-mini-profiler\MvcMiniProfiler\MVCHelpers\ProfilingActionFilter.cs' does not exist.Looking in script documents for 'C:\Users\myusername\Desktop\mvc-mini-profiler\MvcMiniProfiler\MVCHelpers\ProfilingActionFilter.cs'...Looking in the projects for 'C:\Users\myusername\Desktop\mvc-mini-profiler\MvcMiniProfiler\MVCHelpers\ProfilingActionFilter.cs'.The file was not found in a project.Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\crt\src\'...Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: C:\Users\myusername\Desktop\mvc-mini-profiler\MvcMiniProfiler\MVCHelpers\ProfilingActionFilter.cs.The debugger could not locate the source file 'C:\Users\myusername\Desktop\mvc-mini-profiler\MvcMiniProfiler\MVCHelpers\ProfilingActionFilter.cs'.


I'm not sure what file(s) it is looking after. I'm all new to MVC Mini profiler (but trying to catch on to it). 

Hope some could provide words of wisdom.

Thanks for reading.