Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Views information update(how to decide when to update view)
Views information update [message #943251] Sun, 14 October 2012 05:53 Go to next message
Eclipse UserFriend
hi.
i want to ask a question about the relationship between views like variables view
and debug events.

for example: if i debug a c program how does the variables view know when to update itself?, because it seems that even when the view is close and i click 'step into'
and reopen the view, the view presents the updated information.

so this is my question,how does the variables view (for instance)know when to update itself when a debug event occurs?

thanks for the help.
Re: Views information update [message #943566 is a reply to message #943251] Sun, 14 October 2012 12:31 Go to previous messageGo to next message
Eclipse UserFriend
VariablesView implements IDebugContextListener and as such it receives calls debugContextChanged(DebugContextEvent).
Have a look at the implementation of that method and you'll see how that relates to selection.
To see when this method is invoked I recommend the debugger Smile

HTH
Stephan
Re: Views information update [message #943748 is a reply to message #943566] Sun, 14 October 2012 15:07 Go to previous message
Eclipse UserFriend
thanks for the information, i have read the interface and the variables view implemention, but i didnt understand the uses of the IDebugContextListener interface nor the information i can get from the DebugContextEvent events.

can you pleas go into detail about that subject?,thanks.
Previous Topic:Publish failing for a Seam project
Next Topic:Reusing Interface Selection UI JDT
Goto Forum:
  


Current Time: Fri May 23 02:05:36 EDT 2025

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

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

Back to the top