• <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 閱讀(790) 評論(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
            亚洲精品高清国产一久久| 久久精品国产免费观看三人同眠| 亚洲色欲久久久综合网东京热| 一本一本久久a久久精品综合麻豆| 久久e热在这里只有国产中文精品99| 久久久久亚洲精品无码网址| 一本色道久久88—综合亚洲精品| 精品人妻久久久久久888| 国产精品九九久久精品女同亚洲欧美日韩综合区 | 亚洲精品高清国产一久久| 久久99精品国产麻豆婷婷| 亚洲国产精品综合久久一线| 亚洲AV无码久久精品狠狠爱浪潮| 日韩精品国产自在久久现线拍| 欧美麻豆久久久久久中文| 久久99国产综合精品免费| 欧洲性大片xxxxx久久久| 狠狠狠色丁香婷婷综合久久俺| 午夜精品久久影院蜜桃| 日本精品久久久中文字幕| 亚洲国产精品无码久久一区二区| 久久996热精品xxxx| 99久久超碰中文字幕伊人| 伊人色综合久久天天人手人婷| 精品久久久久久国产三级| 精品国产乱码久久久久久1区2区| 久久久人妻精品无码一区| 久久亚洲国产中v天仙www| 国产Av激情久久无码天堂| 婷婷久久综合| 人妻精品久久久久中文字幕| 国产亚洲精午夜久久久久久| 精品国际久久久久999波多野| 无码国产69精品久久久久网站| 尹人香蕉久久99天天拍| 久久亚洲电影| 亚洲人AV永久一区二区三区久久 | 久久久久久久久久免免费精品| 国产精品久久久久影院嫩草| 91久久精品91久久性色| 国产V亚洲V天堂无码久久久|