Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] variable view becomes abnormal after I set radix 16 in console

Hi,
Thanks for your reply.
The CDT which I use is version  2.1.0


From: "Mikhail Khodjaiants" <mikhailk@xxxxxxx>
Reply-To: cdt-debug-dev@xxxxxxxxxxx
To: <cdt-debug-dev@xxxxxxxxxxx>
Subject: Re: [cdt-debug-dev] variable view becomes abnormal after I set
radix 16 in console
Date: Mon, 14 Mar 2005 13:55:03 -0500

You can set the format of variable from it's context menu. The gdb console is not fully supported in CDT and the behaviour of the CDT debugger is undefined for many gdb commands, though the exception you mentioned should be handled properly.
BTW, what is the version of your CDT?

----- Original Message ----- From: "Lu Aron" <kafe_aron@xxxxxxx>
To: <cdt-debug-dev@xxxxxxxxxxx>
Sent: Monday, March 14, 2005 3:50 AM
Subject: [cdt-debug-dev] variable view becomes abnormal after I set radix 16 in console


Hi all,

After I do "set radix 16" in console, the CDT debug "variable view"
becomes
abnormal.
I know Eclipse can set the default display format in "Window" Tab.
But it should allow user to set it with another way.
Should it be fixed to let the debug function better?
Thanks!

I attach the following message which is showed afterI set radix 16 in
console.

An internal error occurred during: "Debug".
java.lang.NumberFormatException: For input string: "x0"
java.lang.NumberFormatException.forInputString(Unknown Source)
java.lang.Integer.parseInt(Unknown Source)
java.math.BigInteger.<init>(Unknown Source)
java.math.BigInteger.<init>(Unknown Source)
org.eclipse.cdt.debug.internal.core.model.CValue.getLongValueString(CVal
ue.java:285)

org.eclipse.cdt.debug.internal.core.model.CValue.processUnderlyingValue(
CValue.java:208)

org.eclipse.cdt.debug.internal.core.model.CValue.getValueString(CValue.j
ava:95)

org.eclipse.cdt.debug.internal.ui.CDTDebugModelPresentation.getValueText
(CDTDebugModelPresentation.java:568)

org.eclipse.cdt.debug.internal.ui.CDTDebugModelPresentation.getVariableT
ext(CDTDebugModelPresentation.java:545)

org.eclipse.cdt.debug.internal.ui.CDTDebugModelPresentation.getBaseText(
CDTDebugModelPresentation.java:323)

org.eclipse.cdt.debug.internal.ui.CDTDebugModelPresentation.getText(CDTD
ebugModelPresentation.java:287)

org.eclipse.debug.internal.ui.LazyModelPresentation.getText(LazyModelPre
sentation.java:101)

org.eclipse.debug.internal.ui.DelegatingModelPresentation.getText(Delega
tingModelPresentation.java:158)

org.eclipse.debug.internal.ui.VariablesViewModelPresentation.getText(Var
iablesViewModelPresentation.java:25)

org.eclipse.debug.internal.ui.views.DebugViewLabelDecorator$LabelJob.run
(DebugViewLabelDecorator.java:326)

org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

_________________________________________________________________
蝡����?唾? MSN Mobile ?��?嚗����?函??��?銝����??MSN Hotmail
http://msn.com.tw/msnmobile

_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev

_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev

_________________________________________________________________
MSN Messenger 7.0 搶鮮版熱烈下載中:別錯過超酷的動畫快遞 http://messenger.msn.com.tw/beta


Back to the top