Microsoft KB Archive/99952

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), versions 3.1, 3.5, 3.51, 4.0

-

SYMPTOMS
When debugging an application that uses the Open common dialog box (created by the GetOpenFileName function) in WinDbg, the program stops and the following information is displayed in the Command window:

Thread Terminate: Process=0, Thread=2, Exit Code=1

CAUSE
The Open common dialog box causes a thread to be created. At this point in the debugging, that thread has terminated. By default, WinDbg halts whenever a thread terminates.

RESOLUTION
Execute the go command (type &quot;g&quot; at the command prompt). Execution will continue.

MORE INFORMATION
To prevent WinDbg from halting when a thread is terminated, select Debug from the Options menu and check &quot;Go on thread terminate.&quot;

Additional query words: 3.10 3.50 4.00 95

Keywords         : Version          : WINDOWS:3.1,3.5,3.51,4.0 Platform         : WINDOWS Issue type       :
 * }