I do not know how to use a debugger....... Never used one in my whole intire life, but now I want to learn to.....anyone know of a good tutorial to learn to use the debugger that comes with VC++? Thank you.
I do not know how to use a debugger....... Never used one in my whole intire life, but now I want to learn to.....anyone know of a good tutorial to learn to use the debugger that comes with VC++? Thank you.
There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!
"...The only real game I thank in the world is baseball..." --Babe Ruth
"Life is beautiful"-Don Corleone right before he died.
"The expert on anything was once a beginner" -Baseball poster I own.
Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.
Try the MSDN (http://msdn.microsoft.com/) - you should find something if run a search.
I haven't used one yet.
I use gdb somewhat regularly.
i only use the MSVC++ one when my program crashes and it says "click cancel or debug" in which case you hit debug and it either points to the line of c++ code that caused the error or gives you an assembly dump. it can be handy.
agreedOriginally posted by Perspective
i only use the MSVC++ one when my program crashes and it says "click cancel or debug" in which case you hit debug and it either points to the line of c++ code that caused the error or gives you an assembly dump. it can be handy.
ITs fun to mess with the asm dump. Just rembmer setting esp to 00001000 and eip to ffffffff
I'm sure you've all used a debugger, as you must've had at least 10 crashes before.
"What are you after - the vague post of the week award?" - Salem
IPv6 Ready.
Travel the world, meet interesting people...kill them.
Trying to fix or change something, only guaruntees and perpetuates its existence.
I don't know about angels, but it is fear that gives men wings.
The problem with wanting something is the fear of losing it, or never having it. The thought makes you weak.
E-Mail Xei
I think that I use the debugger in every program I write for at least 1/10th of the time it took to write. Its just soo easy to use. Press F10 to step into and see your execution unfold (F5 to just execute normally until::, use breaking points to stop when you want to, use the watch to find out when certain variables change and where, and use the immediates/auto to find out any variable's value at a certain time during deugging. Its cake and its easy and it saves tons of time.
I don't understand how people can possibly work without a decent debugger. I used to have to put debugging statements into code and all that stuff, but frequently, that changes the behaviour of the program. Give me a good debugger anyday now.
The debugger with MS VC++ is pretty good, but is no use for debugging extensively multithreaded code, you can't attach the debugger on a "per thread" basis.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
[echo]
I don't understand how people can possibly work without a decent debugger.
[/echo]
Essential tool.
I like in VC++ [CTRL]+B where I can set conditional break points.
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill
Same here...never used on before...never needed one though
The knack of flying is learning to throw yourself at the ground and miss.
I agree: once programming is part of your work, you can't avoid debugging.Originally posted by adrianxw
I don't understand how people can possibly work without a decent debugger.
You might not need it while doing some homework-alike projects, however, once a project becames a little more complex, you'll find this tool useful.
Indeed, it's a nightmare. Trace outputs, conditional breakpoints are a good alternative to catch errors in multithreaded programs (it's real "fun" to search the "bad" thread within a trace output file of more Mbytes ;°> ).Originally posted by adrianxw
The debugger with MS VC++ is pretty good, but is no use for debugging extensively multithreaded code, you can't attach the debugger on a "per thread" basis.
[R]evolution!
Programming related articles, downloads, demos