`
yeshaoting
  • 浏览: 668659 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

ERROR:may out of synch

 
阅读更多

ERROR:may out of synch

http://dev.eclipse.org/mhonarc/lists/eclipse-announce/msg00021.html

The out of synch notification in the debug view means that the code in the VM 
is not the same as the code in the workspace.

At this time, our resolution is at the type level. If a type has changed in 
the workspace but that change is not present in the stack frame displayed in 
the debug view, we show that it is "out of synch." Stack frames may get out 
of synch in three ways - the VM doesn't support hot code replace (HCR), a 
particular attempt at HCR has failed (not all VMs support all redefinitions), 
or the HCR succeeded but the VM was unable to pop the frame running old code. 
This last case can occur, for example, when the type in which a main method 
resides is successfully changed. The main method will display "out of synch" 
because the VM cannot pop the main method from the stack until the program 
exits. 

We cannot know what code is executing in a running thread, so the best that 
we can do is to say that a running thread "may be out of synch" after an HCR 
fails. That is, it may or may not be running the code which wasn't updated.

- Jared

> From: Boris Pruessmann <boris+mailinglists.eclipse-announce@xxxxxxxxxxxxxx>
> Date: Mon, 10 Dec 2001 09:06:34 +0100 (CET)
> 
> 
> Hi,
> 
> the out-of-sync tag indicates that you made changes to the code
> while running the application, but do not have a VM with hotswap
> feature running (AFAIK). So you have to restatrt the application
> for changes to take place.
> 
> - Boris


> On Sun, 9 Dec 2001, Samuel Cheung wrote:

> > Hi,
> > 
> > Could someone please tell me what is the meaning of 
> > Thread (Suspended) (out-of-synch)
> > Thread (Running) (may be out-of-sync)
> > 
> > in the debugging. I am running the debugging locally, not remotely.
> > 
> > Thanks.
> > Sam
> > _______________________________________________
> > eclipse-announce mailing list
> > eclipse-announce@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/eclipse-announce
> > 
> > 
> 
> -- 
> "Engineering does not require science. Science helps a lot but 
> people built perfectly good brick walls long before they knew why 
> cement works." - Alan Cox
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics