Partager via


Adding Support for ROM Breakpoints (Windows Embedded CE 6.0)

1/5/2010

You can set breakpoints on any ROM address that is accessible; that is, a ROM address that is not reserved for a different purpose.

To support setting ROM breakpoints, the debugger creates a mirror of ROM pages in RAM pages. To set a ROM breakpoint, the debugger must first determine if the address range of the breakpoint is within ROM.

To enable the debugger to make this determination, you must implement the OAL function OEMIsRom, and then assign your OEMIsRom implementation to its associated kernel variable pfnOEMIsRom during OEMInit.

Note

The debugger allocates a fixed number of RAM pages for tracking ROM breakpoints. Each time you set a ROM breakpoint, the debugger might use an additional RAM page. When the number of RAM pages reaches the allocation, no more ROM breakpoints can be set.

Note

To set other ROM breakpoints, remove ROM breakpoints to free RAM pages.

For more information about how to set breakpoints, see Handling Breakpoint Behavior.

See Also

Concepts

Breakpoint Overview

Other Resources

OEMIsRom
pfnOEMIsRom
OEMInit