You can override "evaluateExpressionToString" of the
"Target" class. But it is also used by the text hovering
mechanism.
Mikhail
Thanks for the info. Do
you know if there’s a relatively easy way I can modify my version to use
var-evaluate-_expression_ for now?
Mike
From: cdt-debug-dev-bounces@xxxxxxxxxxx
[mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Mikhail
Khodjaiants Sent: 04 September 2007
11:46 To:
CDT Debug developers list Subject: RE: [cdt-debug-dev] MI
variable evaluation
Hi,
The
data-evaluate-_expression_ evaluates any _expression_ in one step. There were
plans to use the detail pane of the Variables view to display more complex
data. In this case the data-evaluate-_expression_ would work much faster
than var-evaluate-_expression_ which requires a
var-object.
Mikhail
Khodjaiants
From: cdt-debug-dev-bounces@xxxxxxxxxxx
[mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Mike
Wrighton Sent: 31 August 2007
14:43 To:
cdt-debug-dev@xxxxxxxxxxx Subject: [cdt-debug-dev] MI
variable evaluation
Hi,
I’m trying to modify some
of the gdb/mi code to support our gdb-based debugger. I was wondering if there
was any documentation explaining the MI logic inside CDT? In particular I’m
wondering why CDT uses two mechanisms to evaluate array elements
-var-evaluate-_expression_
and -data-evaluate-_expression_? I’m getting
a gdb syntax error when I click on an element of an array of our parallel type
because CDT uses -data-evaluate-_expression_
(x).5 whereas it works when it uses the MI
variable mechanism
-var-evaluate-_expression_ var1.5. Hope that
more or less makes sense, I’d be grateful for any
advice.
Regards,
Mike
Wrighton
--
The
contents of this email and any attachments are confidential and may be legally
privileged. If you have received this email in error please notify the
sender immediately and refrain from copying or disclosing the contents of the
email to any third party. ClearSpeed accepts no liability for any viruses
which may be transmitted by this email or its
attachments.
ClearSpeed
Technology PLC is a company registered in England
under company number 05159262 whose registered office is at
3110 Great Western
Court,
Hunts Ground Road,
Bristol
BS34
8HP.
ClearSpeed
Technology INC is a wholly owned subsidiary of ClearSpeed Technology PLC and
is incorporated in the United States of
America,
with its principle place of business at 3031 Tisch Way, Suite
200, San
Jose, CA
95128.
Additional
Company information can be found at the following:
http://www.clearspeed.com/aboutus/company/index.html
--
IMPORTANT NOTICE: The contents of this
email and any attachments are confidential and may also be privileged. If you
are not the intended recipient, please notify the sender immediately and do not
disclose the contents to any other person, use it for any purpose, or store or
copy the information in any medium. Thank you.
--
The
contents of this email and any attachments are confidential and may be legally
privileged. If you have received this email in error please notify the
sender immediately and refrain from copying or disclosing the contents of the
email to any third party. ClearSpeed accepts no liability for any viruses
which may be transmitted by this email or its
attachments.
ClearSpeed
Technology PLC is a company registered in England under
company number 05159262 whose registered office is at 3110 Great Western
Court, Hunts Ground
Road, Bristol BS34 8HP.
ClearSpeed
Technology INC is a wholly owned subsidiary of ClearSpeed Technology PLC and
is incorporated in the United States of
America, with its
principle place of business at 3031 Tisch Way, Suite
200, San
Jose, CA 95128.
Additional Company
information can be found at the following: http://www.clearspeed.com/aboutus/company/index.html
|