Fixing nasty bug which prevented Open/Load to work in GUI among other things: the debugger should enter context using factory.call(...) and not Context.call(...) as the default factory is not the one that is used by GUI.
git-svn-id: svn://10.0.0.236/trunk@165510 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
fc43fb1972
commit
b8affef200
@ -66,6 +66,7 @@ class Dim {
|
||||
|
||||
private volatile ContextData interruptedContextData = null;
|
||||
|
||||
ContextFactory contextFactory;
|
||||
private Object monitor = new Object();
|
||||
private Object eventThreadMonitor = new Object();
|
||||
private volatile int returnValue = -1;
|
||||
@ -488,7 +489,7 @@ class Dim {
|
||||
|
||||
void withContext()
|
||||
{
|
||||
Context.call(this);
|
||||
dim.contextFactory.call(this);
|
||||
}
|
||||
|
||||
// ContextFactory.Listener interface
|
||||
@ -537,6 +538,7 @@ class Dim {
|
||||
|
||||
void attachTo(ContextFactory factory)
|
||||
{
|
||||
this.contextFactory = factory;
|
||||
factory.addListener(new DimIProxy(this, IPROXY_LISTEN));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user