[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference decwet::visual

Title:Microsoft Visual C++ bug reports and kits
Notice:Register in Topic 2. 5.Last for latest Kit
Moderator:DECWET::THOMASN
Created:Tue May 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:521
Total number of notes:2938

520.0. "debugger skips lines" by KAOFS::M_VALLEE (csc hull canada) Wed Jun 04 1997 12:43

    vc++ 4.1 on alpha
    
    When running the debugger on a program it skips lines in the program so
    you can't debug the whole thing.Tried to reproduce on intel platform 
    and can't we only see this problem on alpha.
    
T.RTitleUserPersonal
Name
DateLines
520.1mjbclient.zso.dec.com::kowalskiOfficial Beer Test DummyThu Jun 05 1997 09:092
This typically happens when your source code and 
your binary are out of synch.
520.2DECCXL::OUELLETTEblackflies upgraded to mosquitosThu Jun 05 1997 14:0112
It also may happen with optimized code.

	if (condition)
	  variable = 1;

If variable is allocated in a register, the whole statement can be reduced
to one cmov instruction like:

	cmoveq	condition, 1, variable

This gets attributed to one or the other line (I don't remember which)
and it's not possible to set a breakpoint on the other.