Skip to content

Link to line that threw exception is gone #16555

Closed
@yieldcurvemonkey

Description

@yieldcurvemonkey

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

Image

On a new machine. I remember having a link to click that opens/jumps to the line that cause the exception. Is this a IPython feature?

VS Code Version

1.99.2

Jupyter Extension Version

2025.3.0

Jupyter logs

10:33:08.413 [warn] Cell completed with errors su [Error]: FOO
    at n.execute (c:\Users\~\.vscode\extensions\ms-toolsai.jupyter-2025.3.0-win32-x64\dist\extension.node.js:294:4958) {
  ename: 'Exception',
  evalue: 'FOO',
  traceback: [
    '\x1B[31m---------------------------------------------------------------------------\x1B[39m',
    '\x1B[31mException\x1B[39m                                 Traceback (most recent call last)',
    '\x1B[36mCell\x1B[39m\x1B[36m \x1B[39m\x1B[32mIn[4]\x1B[39m\x1B[32m, line 1\x1B[39m\n' +
      '\x1B[32m----> \x1B[39m\x1B[32m1\x1B[39m \x1B[43mmain\x1B[49m\x1B[43m(\x1B[49m\x1B[43m)\x1B[49m\n',
    '\x1B[36mFile \x1B[39m\x1B[32mc:\\Users\\~\\School\\cs445\\temp.py:2\x1B[39m, in \x1B[36mmain\x1B[39m\x1B[34m()\x1B[39m\n' +
      '\x1B[32m      1\x1B[39m \x1B[38;5;28;01mdef\x1B[39;00m \x1B[34mmain\x1B[39m():\n' +
      '\x1B[32m----> \x1B[39m\x1B[32m2\x1B[39m     \x1B[38;5;28;01mraise\x1B[39;00m \x1B[38;5;167;01mException\x1B[39;00m(\x1B[33m"\x1B[39m\x1B[33mFOO\x1B[39m\x1B[33m"\x1B[39m)\n',
    '\x1B[31mException\x1B[39m: FOO'
  ]
}

Coding Language and Runtime Version

Python 3.13.0

Language Extension Version (if applicable)

2025.5.2025041601

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugnotebook-outputverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions