Summary: | [req] Please provide "clean shutdown" option that calls all finally blocks when program is stopped | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Luke Hutchison <luke.hutch> |
Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | sarika.sinha, stephan.herrmann |
Version: | 4.14 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Luke Hutchison
2019-11-13 16:01:49 EST
Moving to JDT/Debug, although I doubt that this is possible without bending over backwards. The debugger can't simply set the instruction counter to the desired code position -- it would probably need to re-compile all finally blocks into a synthetic method to invoke. But then: how to we establish the context of local variables for this execution. => Huge efforts, for an enhancement that we are hearing of for the first time here. Yes, unless JVM gives an option to invoke a method which takes care of calling the nested finally blocks. You can open an enhancement for JDK as this will be more relevant for real time execution as compared to development time using an IDE. |