次の方法で共有


Watch window in WinCE debugger

The watch window in Windows CE kernel debugger (part of Platform Builder) can also be used to verify if symbols are loaded correctly.

To do this, add the following into the watch window:

{, , mydriver.dll} mydriver_func

This should resolve to an address of the function if the symbol for mydriver.dll is loaded.

Generally, the syntax for specifying a symbol address is: 

{[function_name],[source_file_name],[exe or dll name] } variable name

The last part "variable name" can be a variable or a function name.

Tip: To view the source code and assembly for the function you specified in the watch window, drag the entry into the "Disassembly" window.

When you insert a breakpoint, the syntax is the same, except that you can specify a line number like this:

{, mydriver.cpp,mydriver.dll}.234

This set a breakpoint at line 234 in the source mydriver.cpp. You can omit the dll name. Note the period before the line number.

Comments