How to disable character loading when debugging a Visual C ++ program?

I am using Visual Studio 2008. I don’t need to debug some DLLs in my project, so can I disable character loading when debugging a Visual C ++ program? Does it help speed up startup time when debugging?

The characters are all local, so I don’t have such a slow download, I just want to make debugging faster and faster.

For example, I use Qt libraries, when I click "Starting Debugging", the "Exit" window shows that the symbols for Qt libraries are loading. If VS can stop loading these characters, the debug start time should be faster. Of course, I still want VS to load a symbol for my executable.

+5
source share
2 answers

It just turned out that Visual Studio 2010 really does what I want.

To load only a character for an executable file without loading other characters (ex: DLL):

  • Go to Tools-> Options-> Debugging-> Symbols
  • Click "Specified Modules Only"
  • Clear "Always load characters next to modules"
  • Click "Specify Modules"
  • Click new icon
  • Enter the name of the executable file (for example: my-awesome-app.exe)

It also turned out that Visual Studio 2010 works better than Visual Studio 2008 when debugging. At least the IDE layout switches faster when debugging is stopped.

+18
source

, "". , . , , . Release, .

, , . , , , . , .

, WinDbg. Windows SDK, . , Visual Studio, , . WinDbg , , Visual Studio. ++\CLI (, #), Visual Studio. WinDbg , SOS, .

0

All Articles