• <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 閱讀(772) 評論(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
            国产精品一久久香蕉国产线看| 亚洲成色WWW久久网站| 99久久精品免费观看国产| 2021国产成人精品久久| 久久天天躁狠狠躁夜夜不卡| 久久精品国产日本波多野结衣| 久久精品国产秦先生| 亚洲精品第一综合99久久| 99国产欧美久久久精品蜜芽| 亚洲精品乱码久久久久久蜜桃| 久久亚洲私人国产精品vA| 国内精品久久久久久久涩爱 | 亚洲国产精品无码久久久秋霞2 | 亚洲精品国产成人99久久| 久久综合亚洲色HEZYO社区| 色综合久久天天综合| 久久久亚洲裙底偷窥综合| 久久国产高清一区二区三区| 久久久久久毛片免费播放| 亚洲欧洲精品成人久久曰影片| 久久国产精品一区二区| 午夜精品久久久久久久| 色婷婷久久久SWAG精品| 国产成人香蕉久久久久| 99久久免费国产特黄| 伊人久久精品无码av一区| 国内精品久久久久久久涩爱| 97久久精品人妻人人搡人人玩| 久久精品中文字幕一区| 久久亚洲色一区二区三区| 国产免费久久精品99久久| 久久精品国产亚洲麻豆| 久久综合丝袜日本网| 国产精品一久久香蕉产线看 | 久久综合丁香激情久久| 久久久久99精品成人片欧美 | 久久中文字幕视频、最近更新| 99久久精品免费看国产| 国产激情久久久久影院小草| 久久久久久综合一区中文字幕| 久久久久无码精品国产|