Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] DSF features I did not know about

The Watch action in the editor is only visible when the system property
"org.eclipse.cdt.debug.ui.debuggerActive" is set to true.
The CDI debugger sets this property when a session is active.
The action implementation is actually pretty much agnostic of the debugger,
so I think it could be reused for DSF-GDB, provided there is a test
whether a DFS-GDB session is active.

I have filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=274951.

Toni

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
> Sent: Monday, May 04, 2009 9:02 PM
> To: CDT General developers list.
> Subject: RE: [cdt-dev] DSF features I did not know about
> 
>  
> 
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx 
> > [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Pawel Piech
> > Sent: Monday, May 04, 2009 2:28 PM
> > To: CDT General developers list.
> > Subject: Re: [cdt-dev] DSF features I did not know about
> > 
> > Yes, they should work:
> > 
> > Marc Khouzam wrote: 
> > 
> > 	Hi,
> > 	 
> > 	The DSF Expressions view test section 
> > 	http://wiki.eclipse.org/CDT/cdt-debug-dsf#Expressions_view
> > 	mentions some things that I was not aware existed, and 
> > was not able to see:
> > 	 
> > 	o Adding new expression: Using conext menu in var, reg, editor
> > 
> > This is the "Watch" action.
> 
> Ok, I tried that from Registers and Variables and it works.
> I didn't find one in the Editor though.
> 
> 
> > 	o Editing expression values: Editor type (ext vs. drop 
> > down, etc.) as dictated by the expression type
> > 	
> > 	
> > 
> > Yes, the RegisterBitFieldVM node allows the user to set the 
> > bit field mnemonic values using a drop-down selector, instead 
> > of a text field.  But GDB does not support bit fields or 
> > mnemonics, so the only way to test this feature is using a 
> > commecial debugger that does (Wind River's for example), or 
> > the PDA debugger.  I implemented mnemonics in the PDA example 
> > debugger a long while back, and I have to admit I haven't 
> > tested it lately.  
> 
> Oh ok.  Reading the description, I thought that values of boolean
> variables would trigger a drop-down of true/false.
> 
> Thanks
> 
> > I'll give it a try in this test cycle and add a procedure to 
> > test it on the test site.
> > 
> > Cheers,
> > Pawel
> > 
> > 
> > 	Should I be able to see such features?
> > 	 
> > 	Thanks
> > 	 
> > 	 
> > 
> > 	 
> > 
> > 	Marc Khouzam
> > 	Software Designer, Methods and Tools
> > 
> > 		Ericsson Canada Inc
> > 
> > 	EMC/Q
> > 	8500 Decarie Blvd.
> > 	H4P 2N2, Mont-Royal, Qc, Canada
> > 	www.ericsson.com
> > 
> > 		Office: +514 345 7900 x42350
> > 	Fax: +514 345 6159
> > 	Mobile: +514 951 7191
> > 	Email: Marc.Khouzam@xxxxxxxxxxxx
> > 
> > 		
> > 
> > 	
> > 	
> > 	
> > 
> > 	Ce courriel est confidentiel et uniquement destiné à 
> > son ou ses destinataires. Il est défendu de le consulter, de 
> > l'utiliser, de le dévoiler ou de le diffuser sans 
> > autorisation. Si ce message vous est parvenu par erreur, 
> > merci d'en aviser l'expéditeur par retour de courrier et de 
> > le détruire sans le divulguer.  Un courriel et ses pièces 
> > jointes peut être sans autorisation corrompu, interrompu, 
> > amendé, altéré et infecté. L'entreprise ne reçoit et n'envoie 
> > de courriel qu'avec l'entente qu'elle n'est responsable 
> > d'aucune corruption, interception, modification, altération, 
> > infection ou conséquence possible.
> > 
> > 	This communication is confidential and intended solely 
> > for the addressee(s). Any unauthorized review, use, 
> > disclosure or distribution is prohibited. If you believe this 
> > message has been sent to you in error, please notify the 
> > sender by replying to this transmission and delete the 
> > message without disclosing it. Thank you.  E-mail including 
> > attachments is susceptible to data corruption, interruption, 
> > unauthorized amendment, tampering and viruses, and we only 
> > send and receive e-mails on the basis that we are not liable 
> > for any such corruption, interception, amendment, tampering 
> > or viruses or any consequences thereof.
> > 
> > 	 
> > 	________________________________
> > 
> > 
> > 	_______________________________________________
> > 	cdt-dev mailing list
> > 	cdt-dev@xxxxxxxxxxx
> > 	https://dev.eclipse.org/mailman/listinfo/cdt-dev
> > 	  
> > 
> > 
> > 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top