#7 Go to file and line number after double-clicking traceback

closed
nobody
5
2004-10-26
2004-10-25
No

If an exception occurs while running a program, then
the traceback appears in the "Prompt" window. Double
clicking on a line in the traceback should open up the
offending file at the offending line number. This is
the behaviour that would be expected by anyone familiar
with SciTE.

Discussion

  • Daniel Pozmanter

    • status: open --> closed
     
  • Daniel Pozmanter

    Logged In: YES
    user_id=796750

    Done (3.6.4). Good Idea!

    (Double clicking it is a much better idea than the
    autotraceback bit I had a while back. I redid it using re
    so it works nicer.)

    by the by, SciTE didn't seem to have this (at least not the
    version I have living on my linux box), but idle does (right
    click in the prompt).

    Cheers,
    Dan

     
  • Matthew Thornley

    Logged In: YES
    user_id=558529

    Great! That was fast! This issue was the only one that I've
    seen that would have kept me from using DrPython. It's a
    great app and a huge contribution to the Python community!

    I'm using SciTE version 1.60 for Windows. But SciTE has had
    the feature that I'm talking about for quite some time now.
    I'll describe it in more detail. Given the following
    traceback (line numbers added):

    1: Traceback (most recent call last):
    2: File "meiConfigGui.py", line 1364, in OnProjectOpen
    3: , defaultDir = app.fileDialogDir
    4: AttributeError: 'MyApp' object has no attribute
    'fileDialogDir'

    ... double-clicking on line #2 will open up a the file
    meiConfigGui.py at line number 1364.

     
  • Daniel Pozmanter

    Logged In: YES
    user_id=796750

    :) Cool beans. Thanks, and enjoy

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks