ttp://www.nitoyon.com/vc/tutorial/debug/win32.htm
OutputDebugStringてのも有るけど
クラスや関数に入った時に表示させるようにすれば一応可能