Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Glimpse.AspNet.pdb not loaded

I have an MVC application which uses Glimpse and for the last couple days I haven't been able to solve it. It throws a null reference at the start of each run.enter image description here

I have tried clearing caches, reinstalling the nuget packages, and tried clearing out the local repo and pulling it down again.

The program builds and works fine with Glimpse working on others environments and on mine it works if I continue past the error but leaving it as is is feels concerning.

like image 294
graham Avatar asked Oct 16 '22 04:10

graham


2 Answers

  1. Go to Tools -> Options
  2. Make sure that the Enable Just My Code option is enabled and the Enable .NET Framework source stepping deactivated: enter image description here
like image 61
smrsgv Avatar answered Nov 15 '22 05:11

smrsgv


I tried all of the interventions above and still no joy. Our app was built on a framework that uses glimpse, but it's an old product. I checked the 'Except when thrown from Glimpse.aspnet.dll' checkbox, clicked run, clicked stop, just to make sure it saves, and then clicked run again and life is good.

Override error for glimpse.aspnet.pdb

like image 22
bemusical Avatar answered Nov 15 '22 06:11

bemusical