• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            posts - 319, comments - 22, trackbacks - 0, articles - 11
              C++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

            Context Operator (C/C++ Language Expressions)

            Posted on 2012-04-24 21:42 RTY 閱讀(799) 評論(0)  編輯 收藏 引用 所屬分類: C/C++Windows
            MSDN

            Context Operator (C/C++ Language Expressions)

            Visual Studio 2008

             

            This topic applies to:

            Edition

            Visual Basic

            C#

            C++

            Web Developer

            Express

            Topic does not applyTopic does not apply

            Native only

            Topic does not apply

            Standard

            Topic does not applyTopic does not apply

            Native only

            Topic does not apply

            Pro and Team

            Topic does not applyTopic does not apply

            Native only

            Topic does not apply

            Table legend:

            Topic applies

            Applies

            Topic does not apply

            Does not apply

            Topic applies but command hidden by default

            Command or commands hidden by default.

            The context operator is an additional operator provided by the native debugger. When debugging native code, you can use the context operator to qualify a breakpoint location, variable name, or expression:

            • {[function],[source],[module] } location

            • {[function],[source],[module] } variable_name

            • {[function],[source],[module] } expression

            The braces can contain any combination of function name, source file path, and module (executable or DLL) path. The context operator is useful for purposes such as specifying a name from an outer scope that is otherwise hidden by a local name.

            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 invalid:

            {File.c, File.exe} @143 // Invalid syntax 

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

            {Fun} @143 

            If the source or module path includes a comma, an embedded space, or a brace, you must use quotation marks around the path so that the context parser can properly recognize the string. Single quotation marks are considered part of a Windows file name, so you must use double quotation marks. For example,

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

            When the expression evaluator encounters a symbol in an expression, it searches for the symbol in the following order:

            1. Lexical scope outward, starting with the current block, series of statements enclosed in braces, and continuing outward with the enclosing block. The current block is the code containing the current location, instruction pointer address.

            2. Function scope. The current function.

            3. Class scope, if the current location is inside a C++ member function. Class scope includes all base classes. The expression evaluator uses the normal dominance rules.

            4. Current module.

            5. Global symbols.

            6. Other modules.

            7. Public symbols in the program.

            With the context operator, you specify the starting point of the search and bypass the current location. You cannot specify a class, but you can specify a member function of the class and let the expression evaluator search outward.

            Did you find this helpful?  
            Community Content Add
            Annotations FAQ
            欧美粉嫩小泬久久久久久久| 久久久精品人妻一区二区三区蜜桃| 亚洲国产精品无码久久| 国产精品久久久久…| 精品无码久久久久久久久久| 麻豆av久久av盛宴av| 香港aa三级久久三级| 久久久噜噜噜久久中文字幕色伊伊 | 国产欧美久久久精品影院| 久久精品天天中文字幕人妻| 久久精品中文字幕第23页| 国产午夜福利精品久久2021| 无码八A片人妻少妇久久| 久久精品无码一区二区三区| 亚洲精品无码成人片久久| 久久精品国产99国产精品| 久久久无码一区二区三区| 亚洲欧美成人久久综合中文网| 久久精品这里热有精品| 国产精品美女久久久m| 久久狠狠爱亚洲综合影院| 久久久综合香蕉尹人综合网| 26uuu久久五月天| 青青草原综合久久| A狠狠久久蜜臀婷色中文网| 久久久久久无码Av成人影院| 亚洲精品白浆高清久久久久久| 日韩AV毛片精品久久久| 少妇久久久久久被弄到高潮| 久久人人爽人人爽AV片| 少妇久久久久久被弄到高潮| 亚洲欧美一级久久精品| 久久精品桃花综合| 久久亚洲精品国产亚洲老地址| 久久经典免费视频| 久久精品成人欧美大片| 久久综合给合久久狠狠狠97色| 午夜精品久久久久久中宇| 久久精品国产精品亚洲毛片| 99久久中文字幕| 久久精品国产一区|