You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a javascript file in Theia with following content:
a = 1;
b = 2; throw new Error('test');
Set breakpoint on first line
Enable "Uncaught Exceptions"
Launch debugging with "Run current file (pwa-node)" -> the execution pauses at the first line
Continue execution -> the execution halts with an exception at the throw statement
What happens: There is no inline frame decorator in front of the throw statement
What should happen:
Compare this to:
Restart execution
Step over -> Execution pauses at first command in second line
Continue
There is a inline frame decorator clearly marking, that the exception occurred at the throw statement.
The logic in DebugEditorModel only takes into account the case, that the second statement in one line was reached right after pausing at another statement at the same line. However, there are other ways to reach nested statements. The logic should be independent of local state (this.topFrameRange).
Additional Information
Operating System: Windows/Linux Browser/Electron
Theia Version: 1.58/master
The text was updated successfully, but these errors were encountered:
msujew
added
bug
bugs found in the application
debug
issues that related to debug functionality
ui/ux
issues related to user interface / user experience
labels
Mar 3, 2025
Bug Description:
Steps to Reproduce:
What happens: There is no inline frame decorator in front of the throw statement

What should happen:
Compare this to:
There is a inline frame decorator clearly marking, that the exception occurred at the throw statement.
The logic in DebugEditorModel only takes into account the case, that the second statement in one line was reached right after pausing at another statement at the same line. However, there are other ways to reach nested statements. The logic should be independent of local state (this.topFrameRange).
Additional Information
The text was updated successfully, but these errors were encountered: