tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2485) Stack frames in the exception report are not always highlighted correctly
Date Fri, 27 Jun 2008 00:04:45 GMT
Stack frames in the exception report are not always highlighted correctly
-------------------------------------------------------------------------

                 Key: TAPESTRY-2485
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2485
             Project: Tapestry
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.0.13
            Reporter: Howard M. Lewis Ship
            Priority: Minor


User code stack frames are supposed to be highlighted in blue (via adding a CSS class to the
enclose <li>) but this doesn't always happen.

It appears the methods that are advised lose their line number information and this interferes
the following code:

    public String getFrameClass()
    {
        if (frame.getClassName().startsWith(appPackage) && frame.getLineNumber() >
0) return "t-usercode-frame";

        return null;
    }

The line number is 0 for the advised method.

Somehow we need to flag the method as user code, perhaps by finding a way to "re-attach" the
line number from the advised method to its replacement.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message