Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Problem with icon-states in debugger
Problem with icon-states in debugger [message #13582] Tue, 22 July 2008 06:35 Go to next message
Stefan Schulze is currently offline Stefan SchulzeFriend
Messages: 70
Registered: July 2009
Member
Hi...

I'm trying to write a debugger and managed to get something running.
Stepping, suspending, resuming and terminating works fine but if I execute
one of first three actions, the associated buttons are not refreshed until I
re-click the IThread.
The DebugEvents are sent using
DebugPlugin.getDefault().fireDebugEventSet(...) and I ensured the correct
sending with an subsequent System.out.println(event.toString()).
With additional System.out.println's at the canStep...()-methods I saw that
they are only called when I click the IThread, but not after sending the
DebugEvents.

Can anybody tell me how to refresh the button-states right after firing the
DebugEvents?
(Solved) Re: Problem with icon-states in debugger [message #13668 is a reply to message #13582] Tue, 22 July 2008 21:53 Go to previous message
Stefan Schulze is currently offline Stefan SchulzeFriend
Messages: 70
Registered: July 2009
Member
Problem is solved now...

If anybody else has the same problems: It was caused by using the wrong
eventSource. This affects not only the icon-states but also the refreshing
of IThreads and context-view.
(Solved) Re: Problem with icon-states in debugger [message #573991 is a reply to message #13582] Tue, 22 July 2008 21:53 Go to previous message
Stefan Schulze is currently offline Stefan SchulzeFriend
Messages: 70
Registered: July 2009
Member
Problem is solved now...

If anybody else has the same problems: It was caused by using the wrong
eventSource. This affects not only the icon-states but also the refreshing
of IThreads and context-view.
Previous Topic:Need help with new file wizard and selection
Next Topic:Export Deployable plugins and fragments error: File specified more then once
Goto Forum:
  


Current Time: Thu Apr 18 23:45:03 GMT 2024

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

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

Back to the top