[
http://jira.codehaus.org/browse/JANINO-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=145928#action_145928 ]
Arno Unkrig commented on JANINO-127:
------------------------------------
The implementataion is quite small... congrats. But probably not completely correct: The locvars should only appear in the debugger when the locvar is assigned a value! In other words: The local variable should not appear when it is _allocated_, but when when it is first assigned a _value_! That's why I once gave up on implementing the LocalVariableTable.
But if your implementation works, then why not take the easy way?
I will look into it. Stay tuned.
> LocalVariableTable code attribute not created, giving debuggers problems with classfiles
> ----------------------------------------------------------------------------------------
>
> Key: JANINO-127
> URL:
http://jira.codehaus.org/browse/JANINO-127> Project: Janino
> Issue Type: New Feature
> Reporter: Hayden Schultz
> Assignee: Arno Unkrig
> Priority: Critical
> Attachments: localvardiff.txt.gz
>
>
> Since the LocalVariableTable attribute isn't written to class files, we've been having problems debugging code generated by Janino.
> I've attached a diff for the code to write LocalVariableTable code attributes. The changes are fairly minor.
> Thanks,
> Hayden Schultz (I work at StreamBase, the same company as Matt Fowles)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email