cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
[Visual 2008 C++] Call stack shows wrong
[Visual 2008 C++] Call stack shows wrong informations
Jan 2, 2010 at 10:54pm UTC
john891
(54)
Hi there,
I've noticed that Call stack in Visual 2008 shows wrong informations about function formal parameters. I defined that function:
1
2
3
4
5
void
fun(
char
,
double
) {
//...
//<---- Breakpoint
}
and call stack shows it as:
fun(char __formal='f', char __formal='f')
Why is that ?
Last edited on
Jan 2, 2010 at 10:55pm UTC
Jan 3, 2010 at 4:59am UTC
NGen
(689)
Are you using that exact function? If so, maybe it's because it realizes that you don't use the parameters you have set, and fills them both in with chars to minimize the amount of memory used. This is a complete guess, I'm not entirely sure.
Topic archived. No new replies allowed.