代码探测对象包含探测片段的 Java 源代码。
“代码”对象是必需的。源代码可以使用片段的“数据”对象中提供的名称访问数据项。
探测片段只可以有一个“代码”对象。
<code> System.out.println("Entered " + __class + "." + __method); System.out.println("There are " + __args.length + " arguments"); call_counter++; System.out.println("This probe has tracked " + call_counter + " calls."); </code>
包含于
片段探测对象
父主题:Probekit 元素参考