Debugging VC 6.0 Project under VC 5.0 
Author Message
 Debugging VC 6.0 Project under VC 5.0

I had a project created by VC 6.0, but I couldn't
debug it under the VC 5.0 IDE. Why?

(Whenever I set a breakpoint, it failed).



Mon, 01 Apr 2002 03:00:00 GMT  
 Debugging VC 6.0 Project under VC 5.0
VC 5.0 can't read the VC 6.0 debug format - at least
not the edit and continue format.

Quote:

> I had a project created by VC 6.0, but I couldn't
> debug it under the VC 5.0 IDE. Why?

> (Whenever I set a breakpoint, it failed).

--
.Bruce Dawson, Cavedog Entertainment.
Makers of Total Annihilation - http://www.cavedog.com


Mon, 01 Apr 2002 03:00:00 GMT  
 Debugging VC 6.0 Project under VC 5.0
Differnt compiler options and .pdb file format.

Go to compiler setting, reset debug information settings
, rebuild the projects.

Feng Y

Quote:

> I had a project created by VC 6.0, but I couldn't
> debug it under the VC 5.0 IDE. Why?

> (Whenever I set a breakpoint, it failed).



Mon, 01 Apr 2002 03:00:00 GMT  
 Debugging VC 6.0 Project under VC 5.0

Quote:

>Differnt compiler options and .pdb file format.

>Go to compiler setting, reset debug information settings
>, rebuild the projects.

>Feng Y

I knew that, of course.

Yes, I'd *REBUILT* the project, but the de{*filter*} still didn't work.



Tue, 02 Apr 2002 03:00:00 GMT  
 Debugging VC 6.0 Project under VC 5.0


Fri, 19 Jun 1992 00:00:00 GMT  
 Debugging VC 6.0 Project under VC 5.0
There's one common problem while porting VC6.0 project back to VC5.0.
VC6.0 uses compiler command line options (/ZI and /GX) that are
introduced in VC6.0.If you open your project under VC5.0, these options
are kept in the makefile, thus neigther the compiler nor the IDE knows
anything about them.
/ZI option, used as a replacement for /Zi (yep, it's case sensitive)
specifies the "Edit&Continue" stuff. Since that option is unknown to the
compiler, and there's no other option listed for pdb builing, the
compiler won't put any debug info into the object file. This is why you
can't put the breakpoint.
Go to your project settings, and manually change /ZI to /Zi in the
editbox where the compiler command line options are listed.

Peter Zahoran



Fri, 05 Apr 2002 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. VC ++ 6.0 problem with older project from 5.0

2. Co-install of VC 5.0 and VC 6.0

3. : VC 5.0 vs VC 6.0 incompatibility

4. VC 5.0 and VC 6.0 compatibility problem ?

5. vc++ 5.0 to vc++ 6.0 problem

6. : VC 5.0 vs VC 6.0 run time incompatibility

7. : VC 5.0 and VC 6.0 run time compatibility

8. Problem upgrading from VC 5.0 to VC 6.0

9. VC 6.0 breaks VC 5.0 DLLs?

10. difference between VC 5.0 and VC 6.0

 

 
Powered by phpBB® Forum Software