Error when debugging

lawrence whittemore asked on October 19, 2022 22:45

I'm working on some custom functionality for the CMS on a .net core site. but I get an Object reference not set to an instance of an object. error when i turn debugging on in the web config. Any thoughts on how to fix this?

Recent Answers


Jeroen Fürst answered on November 21, 2022 17:01

Hi Lawrence,

Can you share the full error message, possibly event log entry?

Cheers, Jeroen

0 votesVote for this answer Mark as a Correct answer

lawrence whittemore answered on November 21, 2022 22:44

This is the full error. It only happens when i turn debug mode on. Otherwise the admin runs fine.

[NullReferenceException: Object reference not set to an instance of an object.]
   Microsoft.WebTools.BrowserLink.Runtime.Tracing.PageInspectorHttpModule.OnPreRequestHandlerExecute(Object sender, EventArgs e) +646
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +222
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +219
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.