PRWIN9101007: Cannot Use CVW to Set a Breakpoint in a WEP

ID Number: Q68582

3.00

WINDOWS

buglist3.00

Summary:

PROBLEM ID: WIN9101007

SYMPTOMS

When Microsoft CodeView for Windows (CVW) is used to set a

breakpoint in the Windows exit procedure (WEP) routine of a

dynamic-link library (DLL) developed for version 3.0 of the

Microsoft Windows graphical environment, either the breakpoint is

ignored or the application experiences an unrecoverable application

error (UAE).

CAUSE

If the DLL is loaded implicitly, Windows calls the WEP after CVW

has removed all breakpoints for the application being debugged. If

the DLL is loaded explicitly, CVW does not remove the code

modification it uses to implement the breakpoint. Failure to remove

the modification causes the UAE.

RESOLUTION

To work around this problem, use WDEB386 to debug the DLL.

Microsoft has confirmed this to be a problem in version 3.0 of

CodeView for Windows. We are researching this problem and will post

new information here as it becomes available.

Additional reference words: 3.00