OK I'm being thick
My first C compiler was Dev-C++. I''m now using MSVC.
When I used to debug with Dev it was easy to step through code. I had no problems using the debugger.
But I don''t understand why on MSVC it reaches for example a printf() statement and then opens a box looking for printf.c
Why? Why doesn''t it know what this function is? How do I get around it?
You are probabl trying to step INTO printf, a library function. The source for the library is on the CD somewhere, but that''s not going to help much, printf ''aint bugged.
I reckon your old debugger and MSVC have swapped the keys for "step over" and "step into".
"Most people think, great God will come from the sky, take away everything, and make everybody feel high" - Bob Marley
I reckon your old debugger and MSVC have swapped the keys for "step over" and "step into".
"Most people think, great God will come from the sky, take away everything, and make everybody feel high" - Bob Marley
"Most people think, great God will come from the sky, take away everything, and make everybody feel high" - Bob Marley
September 11, 2002 10:40 AM
When you are stepping through your code, step over, rather than step in. F10 is the default key.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement