private Status executeDebug ( Stmt . Debug stmt , CallStack frame , EnclosingScope scope ) { // // FIXME: need to do something with this RValue . Array arr = executeExpression ( ARRAY_T , stmt . getOperand ( ) , frame ) ; for ( RValue item : arr . getElements ( ) ) { RValue . Int i = ( RValue . Int ) item ; char c = ( char ) i . intValue ( ) ; debug . print ( c ) ; } // return Status . NEXT ; }
Execute a Debug statement at a given point in the function or method body . This will write the provided string out to the debug stream .