ID: Q92605
4.00 4.01 WINDOWS kbtool kbbuglist kbfixlist
The information in this article applies to:
When version 4.0 or 4.01 of CodeView for Windows is used to debug multiple applications simultaneously, and the user uses the Windows Task List application to activate application being debugged, CVW fails to stop execution on breakpoints in the activated application.
To avoid this problem, minimized the application currently being debugged before using the Windows Program Manager to activate the second application.
Note: Do not use the Windows Task List to activate the Program Manager. The Switch To option on the Windows system menu and the CTRL+ESC key combination access the Windows Task List.
Microsoft has confirmed this to be a problem in CodeView versions 4.0 and 4.01 for Windows. This problem was corrected in CodeView version 4.1 for Windows.
Page 380 of the Microsoft C/C++ "Environment and Tools" manual for version 7.0 details debugging multiple applications simultaneously.
The following nine steps reproduce the problem described above:
1. In the Windows Program Manager, choose Run from the File menu.
2. In the Run dialog box, enter the CVW command, then the /L option
and the name of the second applicatoin to debug, followed by the
name of the first application to debug, as follows:
cvw /LSECOND.EXE FIRST.EXE
3. In CodeView for Windows, choose Open Module from the File menu.
4. In the Open Module dialog box, enter the name source module for the
second application (for example, SECOND.C).
5. Set a breakpoint anywhere in the second application.
6. Press the F5 key to execute the first application.
7. After the first application completes execution, use the Task List
to activate the Program Manager. To use the Task list, choose the
Switch To option from the Windows system menu or use the CTRL+ESC
key combination.
8. In the Program Manager, choose Run from the File menu.
9. In the Run dialog box, enter the name of the second application.
Execution does not stop at the breakpoint set in the second application.
If the user does not use the Task List to activate the Program Manager (in other words, the user clicks on the Program Manager with the mouse), execution will halt at the breakpoint.
Additional reference words: 4.00 KBCategory: kbtool kbbuglist kbfixlist KBSubcategory: CvwIss
Keywords : kb16bitonly
Solution Type : kbfix
Last Reviewed: September 17, 1997