public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Class not displayed in watch window (Bug?)
@ 2003-10-26 16:52 L P
  2003-10-27 18:28 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: L P @ 2003-10-26 16:52 UTC (permalink / raw)
  To: insight

Hello, 
	I have a class template with 2 parameters of types ( <type1,type2>). 
	When I put an object of this class into watch window or into local vars window, the name is placed and the line looks like: 
Name		Value 
MyObj		class MyClass<int,short> {...} 
	and there is no '+' sign for extension. All attempts to click on it do nothing. 
 
	Meanwhile, when I type 'print MyObj' in the console window, I receive a printout of all members of MyClass. 
	How can I have MyObj be  shown in Watch Window? 
 
A lot of thanks ahead. 
-- 
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Class not displayed in watch window (Bug?)
  2003-10-26 16:52 Class not displayed in watch window (Bug?) L P
@ 2003-10-27 18:28 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2003-10-27 18:28 UTC (permalink / raw)
  To: L P; +Cc: insight

L P wrote:

> Hello, 
> 	I have a class template with 2 parameters of types ( <type1,type2>). 
> 	When I put an object of this class into watch window or into local vars window, the name is placed and the line looks like: 
> Name		Value 
> MyObj		class MyClass<int,short> {...} 
> 	and there is no '+' sign for extension. All attempts to click on it do nothing. 
>  
> 	Meanwhile, when I type 'print MyObj' in the console window, I receive a printout of all members of MyClass. 
> 	How can I have MyObj be  shown in Watch Window? 
>  
> A lot of thanks ahead. 
> 

That sounds like a varobj bug. Try doing the same thing with MI (which I 
am very certain will also fail), and then file a bug against gdb/varobj.

Keith


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-27 18:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-26 16:52 Class not displayed in watch window (Bug?) L P
2003-10-27 18:28 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).