0

That's a hard title, let me explain what I mean, currently I'm programming a multi threaded application, and when I set a breakpoint in my code :

  • Sometimes the breakpoint doesn't break,
  • Sometimes the debugger can't evaluate variables,
  • Every time, Step by step doesn't work as expected (it jumps anywhere)

My multi thread app has 2 threads : one is waiting user input at Console.Read(), and the other I want to debug.

A co-worker has the same problem with VS 2008. Do you know a solution of this annoying problem ?

Thanks in advance for your help !

Nicolas Dorier
  • 7,383
  • 11
  • 58
  • 71
  • 1
    Here's a related thread on the subject: http://stackoverflow.com/questions/336628/step-over-when-debugging-multithreaded-programs-in-visual-studio – Laserallan Jul 30 '09 at 11:59
  • That's not the same problem as me, I don't have multiple thread running code, one is waiting – Nicolas Dorier Jul 30 '09 at 12:09

1 Answers1

1

Please see MS Hotfix: Updates for Visual Studio 2008 SP1 debugging and breakpoints

Mitch Wheat
  • 295,962
  • 43
  • 465
  • 541