Welcome to MSDN Blogs Sign in | Join | Help

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.

Published Friday, December 22, 2006 11:09 PM by zhengpei

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Pei s Tech Blog Watch window in WinCE debugger | Paid Surveys

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker