Skip to content

Profiling MinGW Programs

Vladimir Panteleev edited this page Feb 2, 2017 · 1 revision

Very Sleepy supports profiling programs built using the MinGW toolchain.

For this purpose, it is distributed with two implementations of the DbgHelp library supporting MinGW:

  • Wine DbgHelp (dbghelpw.dll and dbghelpw_wow64.dll), which is based on the Wine implementation of dbghelp.dll.
  • Dr. MinGW's mgwhelp library (included with Very Sleepy with the filename dbghelpdr.dll), which is an implementation of DbgHelp directly based on the MinGW toolchain.

Newer versions of Very Sleepy use Dr. MinGW by default, but the used library can be configured in the options dialog (ToolsOptions from the process selection window), or using the --wine and --mingw command-line switches.

Note that, as of the time of writing, the Wine debug helper library is unable to understand newer versions of DWARF debugging information, and thus may not be able to read symbols for programs compiled by newer gcc versions.

Clone this wiki locally