Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disabling an annoying debugger notification in Visual Studio 2017

Whenever I start debugging with heap profiling turned on in the Diagnostics tools in my Visual Studio 2017, I get the following notification(s):

Heap profiling is enabled notification This is quite annoying, since I was made aware of the performance impact these debugging methods might have on my program the first 10 times I was presented with such notifications. To make things worse, the notifications do not disappear by themselves, but instead I have to close them everytime I've been debugging.

Where might I find an option to turn these things off, so I might profile the heap in peace?

TO BE CLEAR: I do not wish to disable heap profiling. I wish to disable the warning/notification I am presented with whenever I profile the heapiness.

like image 205
comesuccingfuccslot Avatar asked Aug 12 '17 06:08

comesuccingfuccslot


People also ask

How do I stop Debugging in Visual Studio 2017?

To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.

How do I disable Debugging in Visual Studio?

Enable or disable Just-In-Time debugging in Visual Studio You can configure Just-In-Time debugging from the Visual Studio Tools > Options (or Debug > Options) dialog box. To enable or disable Just-In-Time debugging: On the Tools or Debug menu, select Options > Debugging > Just-In-Time.

How do I stop JIT Debugging pop up?

To enable or disable Just-In-Time debuggingIn the Options dialog box, select the Debugging folder. In the Debugging folder, select the Just-In-Time page. In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed , Native , or Script .

Why does JIT Debugging keep popping up?

The Just-In-Time Debugger dialog box may open when an error occurs in a running app, and prevent the app from continuing. The Just-In-Time Debugger gives you the option to launch Visual Studio to debug the error.


1 Answers

Some notifications in Visual Studio 2017 have Don't Show Again option like this one: enter image description here

If the solution to your issue still not available in the latest version of Visual Studio 2017 15.3. You can report this in Visual Studio 2017. Let them know to add Don't Show Again option in Heap Profiling notification.

Here are the steps on how to report a problem with visual studio 2017.

like image 149
James Earnan Villaverde Avatar answered Nov 05 '22 03:11

James Earnan Villaverde