Debugger: classLoader can be null (ex. classes from android application). JDIEval will use CallerClassLoader for find classes
#KT-6825 Fixed
This commit is contained in:
@@ -215,7 +215,7 @@ class KotlinEvaluator(val codeFragment: JetCodeFragment,
|
|||||||
this,
|
this,
|
||||||
makeInitialFrame(this, args),
|
makeInitialFrame(this, args),
|
||||||
JDIEval(virtualMachine,
|
JDIEval(virtualMachine,
|
||||||
context.getClassLoader()!!,
|
context.getClassLoader(),
|
||||||
context.getSuspendContext().getThread()?.getThreadReference()!!,
|
context.getSuspendContext().getThread()?.getThreadReference()!!,
|
||||||
context.getSuspendContext().getInvokePolicy())
|
context.getSuspendContext().getInvokePolicy())
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user