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