Skip to content

Cannot go to sources of exception stack trace #200253

Closed

Description

@nfx

Issue Type: Bug

Screenshot 2021-02-27 at 19 15 34

Let's imagine some hypothetical bad code that resulted in exception either because bad or unfamiliar third-party libraries and focus on speed of issue resolution:

import pandas as pd
pd.DataFrame(42)

Upon executing this, we get an exception. As professional IDE user, I expect a consistent behavior and exception stack trace rendered like a normal stack trace - something compact, with clickable lines, that get me to correct lines of code, causing the error. I do not want to open search bar in the project, then figure out that this is not the error in the project i'm working on, but rather in third-party dependency, because that way i have to go, figure out where the sources of that dependency are, open another editor, find references, etc etc. I also really don't want to see the same exception message for 3 times. Practically speaking, we can make hiding of stack traces as opt-out feature. If make with bottom-right notifications popup - even better :)

VSCode has a nice stack trace rendering widget in debug mode, so that one could be just re-used in this beautiful extension, so that I'd see consistent UX across different parts of the editor for the same type of things.

...

Extension version: 2021.3.600686576
VS Code version: Code - Insiders 1.54.0-insider (Universal) (e590188, 2021-02-26T20:39:12.763Z)
OS version: Darwin x64 19.6.0

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30263608
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30244315
pythonvsdeb440:30224570
pythonvsded773:30223139
pythonvspyt875:30259475
pythonvspyt639:30264824
pythontb:30258533

Activity

  1. nfx commented on Feb 27, 2021

    @nfx
    Author

    Must be part of #91987

  2. joyceerhl commented on Feb 27, 2021

    @joyceerhl
    Contributor

    Thanks for the feedback Serge Smertin (@nfx). Possible dupe of microsoft/vscode-jupyter#4589

  3. nfx commented on Feb 28, 2021

    @nfx
    Author

    Joyce Er (@joyceerhl) this one has more details 😜

  4. added
    notebook-workflow
    on Aug 7, 2021
  5. added
    feature-request
    on May 4, 2022
  6. removed their assignment
    on Dec 6, 2023
  7. rebornix commented on Dec 6, 2023

    @rebornix
    Contributor

    This can be a good feature request for the builtin error renderer.

  8. added and removed
    notebook-workflow
    on Dec 7, 2023
  9. added this to the Backlog milestone on Dec 7, 2023
  10. locked and limited conversation to collaborators on Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requeston-testplan

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions