NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Context Operator

The context operator qualifies a breakpoint location, variable name, or expression, as shown here:

The curly braces can contain any combination of function name, source file pathname, and module (executable or DLL) pathname.

Example

To set a breakpoint at line 301 of EXAMPLE.CPP:

{,EXAMPLE.CPP,}@301

If you omit either function or module, the two commas cannot be omitted. As a result, the following syntax is illegal:

{File.c, File.exe} @143 — Bad

If you omit both source and module, however, you can omit the commas. The following syntax is legal:

{Fun} @143

If the source or module pathname includes a comma, an embedded space, or a brace, you must use quotation marks around the pathname so that the context parser can properly recognize the string. Single quotation marks are considered to be part of a Windows NT/95/98 filename, so you must use double quotation marks. For example,

{,"a long, long, name.c", } .143

See Also

Assembly-Language Expressions