Debugger: A dirty fix for setting breakpoints inside finally {} in case if exception is thrown from try {} (#KT-22654)
This commit is contained in:
@@ -1488,6 +1488,10 @@ public class ExpressionCodegen extends KtVisitor<StackValue, StackValue> impleme
|
||||
}
|
||||
|
||||
if (tryCatchBlockEnd != null) {
|
||||
if (finallyBlockStackElement != null) {
|
||||
markLineNumber(finallyBlockStackElement.expression, true);
|
||||
}
|
||||
|
||||
v.goTo(tryCatchBlockEnd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user