Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How can I view SWT Image while debugging?
How can I view SWT Image while debugging? [message #696288] Wed, 13 July 2011 16:15 Go to next message
Mario Marinato is currently offline Mario MarinatoFriend
Messages: 38
Registered: March 2011
Location: Brazil
Member
I added a breakpoint on my SWT-based application, and when Eclipse stops at it during a debug session I want to view the image referenced by an Image variable.

If I right click the variable and choose watch or inspect, all I see is what is returned from Image's toString method.

Is it possible?


Mário Marinato
From Brazil
Re: How can I view SWT Image while debugging? [message #714250 is a reply to message #696288] Wed, 10 August 2011 06:44 Go to previous messageGo to next message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
It all depends on how important and usefull is this requirement.
A plugin can be written to view the image in the outline view or in a seperate view.
If at all more people require this..will try to impliment this.

Intrested ppl please vote.


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Re: How can I view SWT Image while debugging? [message #714530 is a reply to message #696288] Wed, 10 August 2011 18:33 Go to previous messageGo to next message
Thomas Singer is currently offline Thomas SingerFriend
Messages: 75
Registered: July 2009
Member
I'd write a utility method which saves the file to disk (and optionally launches the graphic application to view it). When debugging, you can execute this method easily with the image variable as parameters.
(no subject) [message #714641 is a reply to message #714530] Thu, 11 August 2011 07:14 Go to previous message
Eclipse UserFriend
Originally posted by:

On 2011-08-10 20:33, Thomas Singer wrote:
> I'd write a utility method which saves the file to disk (and optionally
> launches the graphic application to view it). When debugging, you can
> execute this method easily with the image variable as parameters.

I agree. I have solved similar problems exactly in that way.

- Daniel
Previous Topic:REPOST: Detached views to be brought up independently (Parent shell behaviour)
Next Topic:(no subject)
Goto Forum:
  


Current Time: Fri Apr 26 15:05:49 GMT 2024

Powered by FUDForum. Page generated in 0.04033 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top