C++로 개발된 프로그램의 메모리 해제가 정상적으로 처리 되었는지 확인 할 수 있는 라이브러리다.
다음은 내가 하는 프로젝트에서 발생한 memory leak 상태 메세지 이다.
친절히 디버깅 할 때처럼 call stack을 알려준다. 더블 클릭하면 그 위치의 소스 코드로 슝~~ 이동!!!
설치 및 사용법은 이곳에 잘 설명 되어있다.
Link : http://blog.naver.com/exit0828?Redirect=Log&logNo=30028292814
---------- Block 2 at 0x00BAE350: 60 bytes ---------- Call Stack: d:\yb_tools\yg_3dtool\yg_3dtool\module\gridctrl\gridcell.cpp (99): CGridCell::SetFont d:\yb_tools\yg_3dtool\yg_3dtool\module\gridctrl\gridcell.cpp (250): CGridDefaultCell::SetFont d:\yb_tools\yg_3dtool\yg_3dtool\module\gridctrl\gridcell.cpp (231): CGridDefaultCell::CGridDefaultCell d:\yb_tools\yg_3dtool\yg_3dtool\module\gridctrl\gridctrl.cpp (192): CGridCtrl::CGridCtrl d:\yb_tools\yg_3dtool\yg_3dtool\dlg_npcbatch.cpp (15): CDlg_NPCBatch::CDlg_NPCBatch d:\yb_tools\yg_3dtool\yg_3dtool\mainfrm.cpp (138): CMainFrame::OnCreate f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp (2014): CWnd::OnWndMsg f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp (1755): CWnd::WindowProc f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp (240): AfxCallWndProc f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp (403): AfxWndProc f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\afxstate.cpp (441): AfxWndProcBase 0x77CF8734 (File and line number not available): GetDC 0x77D0BDF1 (File and line number not available): UserLpkPSMTextOut 0x77D08EA0 (File and line number not available): DefWindowProcW 0x77D0CE7C (File and line number not available): SetLayeredWindowAttributes 0x7C93E473 (File and line number not available): KiUserCallbackDispatcher 0x77D0E442 (File and line number not available): GetScrollInfo 0x77D0E4DC (File and line number not available): CreateWindowExA f:\dd\vctools\vc7libs\ship\atlmfc\include\afxcomctl32.h (438): AfxCtxCreateWindowExA f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp (708): CWnd::CreateEx f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm.cpp (608): CFrameWnd::Create f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\winfrm.cpp (740): CFrameWnd::LoadFrame f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\doctempl.cpp (277): CDocTemplate::CreateNewFrame f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\docsingl.cpp (125): CSingleDocTemplate::OpenDocumentFile f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\docmgr.cpp (848): CDocManager::OnFileNew f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\appdlg.cpp (22): CWinApp::OnFileNew f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\cmdtarg.cpp (82): _AfxDispatchCmdMsg f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\cmdtarg.cpp (381): CCmdTarget::OnCmdMsg f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\appui2.cpp (24): CWinApp::ProcessShellCommand d:\yb_tools\yg_3dtool\yg_3dtool\yg_3dtool.cpp (100): CYG_3DToolApp::InitInstance f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\winmain.cpp (37): AfxWinMain f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\appmodul.cpp (30): WinMain f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (574): __tmainCRTStartup f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c (399): WinMainCRTStartup 0x7C7E7077 (File and line number not available): RegisterWaitForInputIdle Data: F5 FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 00 00 00 00 00 00 00 01 00 00 00 00 B1 BC B8 B2 ........ ........ 00 CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC ........ ........ CC CC CC CC CC CC CC CC CC CC CC CC ........ ........ |
'비공개' 카테고리의 다른 글
Dos Tree 명령어 (0) | 2010.03.29 |
---|---|
폰트 (0) | 2010.03.23 |
warning C4150 (0) | 2010.03.22 |
OutPutDebugStr (0) | 2010.03.22 |
프로그래머 추천 폰트 (0) | 2010.03.19 |