Problem with compiler or IDE or OS ?

I have a problem when i try to debug a program sometimes it keeps on debugging forever and the break debugging doesn't work too , it's so fraustrating i have to end task it or restart my pc in order for it to work again.
I am running VS2010 express and windows 8 should i reinstall windows or visual studio , p.s sometimes chrome doesn't respond and than i use firefox .

It's likely that your program is trashing the stack and that is preventing the debugger from working properly.
In my program there is no function of new memory allocation will still make stack and how can i resolve this problem
it keeps on debugging forever and the break debugging doesn't work too

Are you sure that feature is not for adding breakpoints?

You should probably look for something called Stop Debugging instead.
http://msdn.microsoft.com/en-us/library/406kfbs1%28v=vs.100%29.aspx
Last edited on
Sorry i shouldn't have used the term
it keeps on debugging forever and the break debugging doesn't work too
I am not sure may be it gets stuck and stop Debugging doesn't respond
Throw some extra code into the program to print out where it is in the control flow. This will help you narrow down the location of the problem.
Topic archived. No new replies allowed.