• <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++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

            Context Operator (C/C++ Language Expressions)

            Posted on 2012-04-24 21:42 RTY 閱讀(788) 評(píng)論(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
            久久久久一本毛久久久| 久久香蕉国产线看观看乱码| 国产精品久久久久9999高清| 亚洲国产成人精品久久久国产成人一区二区三区综 | 久久精品亚洲欧美日韩久久| 99久久精品午夜一区二区| 亚洲国产精品无码久久SM| 中文字幕无码久久久| 深夜久久AAAAA级毛片免费看| 99久久国产综合精品麻豆| 久久男人Av资源网站无码软件| 香蕉久久久久久狠狠色| 亚洲国产成人久久综合一| 91久久精品视频| 久久国产精品免费一区二区三区| 99久久国产亚洲高清观看2024 | 欧美久久一区二区三区| 久久99久久成人免费播放| 精品久久久久国产免费| 久久综合给合综合久久| 亚洲精品第一综合99久久 | 久久亚洲美女精品国产精品| 久久久无码人妻精品无码| 久久精品九九亚洲精品| 久久久久久综合一区中文字幕| 亚洲国产精品婷婷久久| 国产成人久久久精品二区三区| 久久精品无码一区二区三区日韩| 久久免费国产精品| 中文字幕日本人妻久久久免费| 男女久久久国产一区二区三区| 久久久久久久综合日本亚洲| 欧美成a人片免费看久久| 久久天天躁狠狠躁夜夜不卡| 久久久久人妻精品一区二区三区 | 日韩av无码久久精品免费| 久久99国产精品久久99| 久久精品一区二区三区中文字幕| 一本色道久久88—综合亚洲精品| 久久久久国产精品| 久久人与动人物a级毛片|