Skip to content

Highlight the executing node with stack_data #12150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

alexmojaki
Copy link
Contributor

Here's what it's all been about! Closes #11827

Example script:

def foo(i):
    x = [[[0]]]
    return x[0][i][0]


def bar():
    return foo(0) + foo(
        1
    ) + foo(2)


bar()

Output:

Screenshot from 2020-02-27 20-51-28

@Carreau Carreau added this to the 8.0 milestone Feb 27, 2020
@Carreau Carreau merged commit 9143dd9 into ipython:master Feb 27, 2020
@Carreau
Copy link
Member

Carreau commented Feb 27, 2020

Whooo !

@alexmojaki
Copy link
Contributor Author

Hooray!

Can you sort out choosing proper colors based on configuration?

@Carreau
Copy link
Member

Carreau commented Feb 27, 2020

Opened #12151 to track that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal: highlight exact operation in tracebacks
2 participants