Re: does not contain debug information. Press OK to Continue



On Jun 24, 11:34 am, Karthik <karthikphanin...@xxxxxxxxx> wrote:
On Jun 23, 6:05 pm, David Lowndes <Dav...@xxxxxxxxxxxxxxx> wrote:

I used Windows XP 64 bit build environment (Debug) from PSDK for
windows 2003 R2 to port my application, and created the suitable
configuration and made all the necessary settings to the
configuration.

In fact I was able to compile and link the application without any
errors.

My problem is I am getting a message "does not contain debug
information. Press OK to Continue" when I try to debug the application
with or without breakpoints.

So, have you built the Debug configuration of your project?

Dave

Hi Dave,

I created two more configurations in Build+Configurations+Add, one for
Release & another for Debug.

I also modified the settings accordingly, Infact there are no compile
errors or linker errors, I successfully built the application without
any errors in both DEBUG & RELEASE configurations.

The application is a SETUP/INSTALLATION application which is reporting
some errors in the runtime. So I want to debug it. The errors are
caused by "RegOpenKeyEx" call in the source code. So I want to debug
the application.

I am working on a Dual core intel CPU, installed Windows XP 64 bit
operating system, installed VC++ 6.0 and latest SDKS (Windows 2003
PSDK R2) which contains build environment for Windows XP 64 bit
platform. I am building it for AMD64 CPU architecture.

Thanks for replying Dave.

Hi Dave,

For more clarity I am posting the settings of "C/C++" tab & "Link" tab
of "project settings" property *** in VC++ 6.0.

My application name is "PortSetup", it installs another application on
Windows os.

I named my configurations as follows DEBUG_AMD64 & RELEASE_AMD64.

Settings in AMD64_DEBUG configuration:

C/C++ Tab Settings:

/nologo /MTd /W3 /Gm /Zi /Od /I "." /I "../Includes" /I "../
ServiceInstaller" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /
FR"Debug_AMD64/" /Fp"Debug_AMD64/PortSetup.pch" /Yu"stdafx.h" /
Fo"Debug_AMD64/" /Fd"Debug_AMD64/" /FD /EHsc /Wp64 /c

Link Tab Settings:

bufferoverflowU.lib /nologo /subsystem:windows /incremental:yes /
pdb:"Debug_AMD64/PortSetup.pdb" /debug /machine:I386 /out:"Debug_AMD64/
PortSetup.exe" /machine:AMD64

Settings in AMD64_RELEASE configuration:

C/C++ Tab Settings:

/nologo /MT /W3 /O2 /I "." /I "../Includes" /I "../ServiceInstaller" /
D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FR"Release_AMD64/" /
Fp"Release_AMD64/PortSetup.pch" /Yu"stdafx.h" /Fo"Release_AMD64/" /
Fd"Release_AMD64/" /FD /EHsc /Wp64 /c

Link Tab Settings:

bufferoverflowU.lib /nologo /subsystem:windows /incremental:no /
pdb:"Release_AMD64/PortSetup.pdb" /debug /machine:I386 /
out:"Release_AMD64/PortSetup.exe" /machine:AMD64

Thanks in advance for all the help.
.


Loading