Application of Vs2013 in Linux development (29): Register information

Source: Internet
Author: User

Happy Shrimp

http://blog.csdn.net/lights_joy/

Welcome reprint, but please keep the author information


when VS when a register value needs to be obtained, it is called


        Creates an enumerator for properties associated with the stack frame, such as local variables.        The sample engine is only supports returning locals and parameters. Other possible values include        //class fields (this pointer), registers, exceptions ...        int idebugstackframe2.enumproperties (enum_debugprop_info_flags dwfields, uint Nradix, ref Guid Guidfilter, UINT dwTimeOut, out uint elementsreturned, out IEnumDebugPropertyInfo2 enumobject) {

at this point, pass in Guidfilter The values are:

        Static private GUID _guidfilterregisters = new GUID ("223ae797-bd09-4f28-8241-2763bdc5f713");

Call here gdb Command

-data-list-register-names

-data-list-register-values

then populate the results with the SDM The required interface, you can see the value of the register:


Of course, it is also possible to enter the register value directly in the Watch window:



Unfortunately, there is a slow problem with the list of threads and needs to be improved!






??

Application of Vs2013 in Linux development (29): Register information

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.