Hi, not sure what you'd like to do tough, is this not enough? import org.apache.spark.sql.execution.debug._ sql("SELECT 1").debugCodegen()
// maropu On Thu, Nov 17, 2016 at 3:59 AM, Aleksander Eskilson < aleksander...@gmail.com> wrote: > Hi there, > > I have some jobs generating Java code (via Janino) that I would like to > inspect more directly during runtime. The Janino page seems to indicate an > environmental variable can be set to support debugging the generated code, > allowing one to step into it directly and inspect variables and set > breakpoints. I'm using Intellij and setting both > > -Dorg.codehaus.janino.source_debugging.enable=true > -Dorg.codehaus.janino.source_debugging.dir=/Users/username/ > path/to/project/src > > but when I begin debug, I can't seem to view the generated code, even if I > set a breakpoint to the location that calls it and attempt to step into the > code, or reference a line of the stacktrace that should take me into the > code. Any idea how to properly set Janino to debug the Catalyst-generated > code more directly? > > Best, > Alek > -- --- Takeshi Yamamuro