Skip to content

Commit 7022fda

Browse files
authored
Update finding-memory-leaks-using-the-crt-library.md
Added reminder to load symbols https://stackoverflow.com/questions/30357986/using-crtbreakalloc-to-find-memory-leaks-identifier-crtbreakalloc-is-unide
1 parent 1d78464 commit 7022fda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/debugger/finding-memory-leaks-using-the-crt-library.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ You can use the allocation number to set a breakpoint on the memory allocation.
184184
1. In the **Watch** window, type `_crtBreakAlloc` in the **Name** column.
185185

186186
If you're using the multithreaded DLL version of the CRT library (the /MD option), add the context operator: `{,,ucrtbased.dll}_crtBreakAlloc`
187+
188+
Make sure that debug symbols are loaded otherwise `_crtBreakAlloc` will be reported as *unidentified*.
187189
188190
1. Press **Enter**.
189191

0 commit comments

Comments
 (0)