mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-26 00:21:32 +00:00
Add cause exception to AssertionError
This commit is contained in:
@@ -194,11 +194,12 @@ abstract class KotlinDebuggerTestBase : KotlinDebuggerTestCase() {
|
||||
}
|
||||
else {
|
||||
try {
|
||||
dp.managerThread!!.schedule(dp.createStepIntoCommand(this, ignoreFilters, filters.get(chooseFromList - 1)))
|
||||
dp.managerThread!!.schedule(dp.createStepIntoCommand(this, ignoreFilters, filters[chooseFromList - 1]))
|
||||
}
|
||||
catch(e: IndexOutOfBoundsException) {
|
||||
throw AssertionError("Couldn't find smart step into command at: \n" +
|
||||
runReadAction { debuggerContext.sourcePosition.elementAt.getElementTextWithContext() })
|
||||
runReadAction { debuggerContext.sourcePosition.elementAt.getElementTextWithContext() },
|
||||
e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user