Visual Leak Detector mit Visual Studio 2017: keine source-code-Zeile, die zahlen

Ich versuche, mit Visual Leak Detector mit Visual Studio 2017 mit Platform Toolset "von Visual Studio 2017"
Ich habe das include-Verzeichnis und das library Verzeichnis. Generieren von debug-infos ist auf. Symbole für die exe-Datei geladen werden.

(Es funktioniert, wenn ich die Plattform-toolset "von Visual Studio 2013")

Mit Toolset "von Visual Studio 2017" VLD ist die Feststellung von Lecks, aber nicht beheben der Zeilennummern:

Visual Leak Detector read settings from: C:\Program Files (x86)\Visual Leak Detector\vld.ini
Visual Leak Detector Version 2.5.1 installed.
WARNING: Visual Leak Detector detected memory leaks!
---------- Block 1 at 0x005ECDB8: 400 bytes ----------
  Leak Hash: 0x36672640, Count: 1, Total 400 bytes
  Call Stack (TID 6284):
    ucrtbased.dll!malloc()
    ConsoleApplication6.exe!0x00361FAD()
    ConsoleApplication6.exe!0x003618BC()
    ConsoleApplication6.exe!0x00361828()
    ConsoleApplication6.exe!0x00361883()
    ConsoleApplication6.exe!0x00361F7E()
    ConsoleApplication6.exe!0x00361DE0()
    ConsoleApplication6.exe!0x00361C7D()
    ConsoleApplication6.exe!0x00361F98()
    kernel32.dll!BaseThreadInitThunk() + 0x12 bytes
    ntdll.dll!RtlInitializeExceptionChain() + 0x63 bytes
    ntdll.dll!RtlInitializeExceptionChain() + 0x36 bytes

Vielleicht jemand weiß einen Weg, um aktivieren Zeilennummer Auflösung.

Dank

  • Ich bin mit vs2019, aber die option "Generate Debug Information (/DEBUG)" funktioniert NICHT. Ich habe ihn an "Generate Debug Information optimal für die Freigabe und Veröffentlichung (/DEBUG:FULL)" und jetzt funktioniert es.
InformationsquelleAutor pulp | 2017-06-22
Schreibe einen Kommentar