From: john@iastate.edu (John Hascall)
Subject: Re: Is ladebug sane?!
Date: 1998/01/27 [thread overview]
Message-ID: <6aldhf$d64$1@news.iastate.edu> (raw)
In-Reply-To: 34C4B69B.6E1AF936@cgocable.net
Marc Lepage <mlepage@cgocable.net> wrote:
}Perhaps someone can explain this to me? nCount is the short parameter.
}(ladebug) next
}stopped at [void ALocalFile::WriteBlock(VARIANT*, short):899 0x6e1e53e4]
} 899 int nCount2 = nCount;
}(ladebug) print nCount
}31
}(ladebug) print sizeof(nCount)
}2
}(ladebug) next
}stopped at [void ALocalFile::WriteBlock(VARIANT*, short):900 0x6e1e53e8]
} 900 m_Stream->write((char *)pVar,nCount2);
}(ladebug) print nCount2
}1857749023
Note. 1857749023 is 0x6EBB001F
31 is 0x0000001F
Either:
a) your program compiled wrong (there really is crap in
the top half of 'nCount2'
b) ladebug is confused.
I should think inserting an fprintf/cout/... as line 900
should tell you which it is.
John
--
John Hascall, Software Engr. Shut up, be happy. The conveniences you
ISU Computation Center demanded are now mandatory. -Jello Biafra
mailto:john@iastate.edu
http://www.cc.iastate.edu/staff/systems/john/welcome.html <-- the usual crud
next prev parent reply other threads:[~1998-01-27 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-20 5:00 Is ladebug sane?! Marc Lepage
1998-01-27 5:00 ` John Hascall [this message]
1998-01-27 5:00 ` Jeff Diewald
1998-01-28 5:00 ` Marc Lepage
1998-01-29 5:00 ` Steven Hobbs
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox