Click here to Skip to main content
15,895,084 members

fail to debug the program

Sharath2790 asked:

Open original thread
As soon as I add Rich edit control to my dialog and try debug it.. Build is successful but fails to debug. The output shows as
CSS
'Rich1.exe': Loaded 'C:\Documents and Settings\abc\My Documents\Visual Studio 2010\Projects\Rich1\Debug\Rich1.exe', Symbols loaded.
'Rich1.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\mfc100ud.dll', Symbols loaded.
'Rich1.exe': Loaded 'C:\WINDOWS\system32\msvcr100d.dll', Symbols loaded.
'Rich1.exe': Loaded 'C:\WINDOWS\system32\user32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\msimg32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\mfc100enu.dll', Binary was not built with debug information.
'Rich1.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\Program Files\McAfee\SiteAdvisor\sahook.dll', Cannot find or open the PDB file
'Rich1.exe': Loaded 'C:\WINDOWS\system32\version.dll', Cannot find or open the PDB file
'Rich1.exe': Unloaded 'C:\WINDOWS\system32\version.dll'
'Rich1.exe': Loaded 'C:\WINDOWS\system32\MSCTFIME.IME', Cannot find or open the PDB file
Detected memory leaks!
Dumping objects ->
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\occmgr.cpp(195) : {384} normal block at 0x0034CF90, 40 bytes long.
 Data: <                > 01 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\occmgr.cpp(181) : {383} normal block at 0x0034CF38, 24 bytes long.
 Data: <                > FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00
Object dump complete.
The program '[3020] Rich1.exe: Native' has exited with code 0 (0x0).

what should i do now??? thank you
Tags: C++, VC++ (Visual C++ 6.0), Visual Studio (Visual Studio 2010), MFC

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900