PRB: One Cause for SYMDEB Failing to Break at Breakpoint

ID Number: Q74657

3.00

WINDOWS

Summary:

SYMPTOMS

SYMDEB does not break at a set breakpoint.

CAUSE

The module name specified in the .DEF file does not match the .MAP

filename given to MAPSYM. MAPSYM uses the name of the .MAP file for

its symbol filename, as well as its internal symbol map name. If

the internal symbol map name does not match the module name,

debuggers such as SYMDEB will not work.

Whenever a segment is loaded, discarded, or moved, the debugger

receives notification from Windows with information such as the

module name, segment address, and segment type. The debugger

assumes that the module name is an existing symbol map name, and

looks for the map to use for converting virtual breakpoints to real

breakpoints. If the module name does not match the .MAP file name,

the debugger cannot find the symbol map, and cannot convert the

breakpoints.

RESOLUTION

Use the same name for the .MAP filename and the module name.