Skip to main content



      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 12:15 Go to next message
Eclipse UserFriend
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?
Re: How can I view SWT Image while debugging? [message #714250 is a reply to message #696288] Wed, 10 August 2011 02:44 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: How can I view SWT Image while debugging? [message #714530 is a reply to message #696288] Wed, 10 August 2011 14:33 Go to previous messageGo to next message
Eclipse UserFriend
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 03: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: Sun Jul 06 08:16:23 EDT 2025

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

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

Back to the top