jtulach opened a new pull request, #9433:
URL: https://github.com/apache/netbeans/pull/9433
- trying to debug a Kotlin file
- can specify a _method breakpoint_
- the execution stops, but no location in editor is selected
- clicking on stacktrace element shows the line in a `.kt` file
- can step over
- execution does the step, but no location in editor is selected
- clicking on stacktrace element shows the line in a `.kt` file
- turns out the problem is wrong _stratum_ (from JDK-245)
<img width="761" height="557" alt="strata"
src="https://github.com/user-attachments/assets/098b691d-1903-42c9-ad77-f08ef4a59b15"
/>
- there are too many strata and the default one is _Kotlin_
- when the strata is switched to _Java_ the debugger line gets selected in
the editor
- hence this PR tries all available strata to find any line in any existing
editor
- with this the stepping seems to work
- TBD: placing a breakpoint in the Kotlin source
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists