google app engine - Using Stackdriver debug for non-Java JVM languages -
the stackdriver debug interface complains when have non-java file in source (such groovy file).
the way debugger works matches filename , line number sourcefile , linenumber attributes included in class file, i'm not sure why support non-java source files disabled.
did have luck "tricking" interface accepting non-java files (e.g. renaming them), or have information whether google planning add support?
this limitation hardcoded in stackdriver debugger java agent. see https://github.com/googlecloudplatform/cloud-debug-java/blob/master/src/agent/internals/src/main/java/com/google/devtools/cdbg/debuglets/java/classpathlookup.java#l186
the reason limitation agent built java. understands java conditions , expressions (and doesn't understand other languages expressions). agent can modified handle other jvm languages relatively few changes. however, file:lines match info in class files , expressions parser modified match target lanuage.
Comments
Post a Comment