[ 
https://issues.apache.org/jira/browse/CALCITE-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Drew Foulks updated CALCITE-2196:
---------------------------------
    Reporter: Jing Zhang  (was: Jing Zhang)

> Tweak janino code generation to allow debugging
> -----------------------------------------------
>
>                 Key: CALCITE-2196
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2196
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Jing Zhang
>            Assignee: Julian Hyde
>            Priority: Trivial
>             Fix For: 1.16.0
>
>
> To allow debugging generated code, update codeGen of metadataHandler in 
> JaninoRelMetadataProvider to include Class definition at begin of dynamic 
> code.
> JaninoRelMetadataProvider uses IClassBodyEvaluator to compile generated code. 
>  The generated classes can not be debugged in interactively using Idea using 
> the method referenced by http://janino-compiler.github.io/janino/ because 
> generated code only contains classBody. 
> If using ISimpleCompiler to compile complete compile unit instead of 
> classBody, we could step into the code.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to