Code 探针对象包含探针段的 Java 源代码。
Code 对象是必需的。源代码可以使用在段的 Data 对象中提供的名称来访问数据项。
探针段只能具有一个 Code 对象。
<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>
包含于
Fragment 探针对象
上级主题: Probekit 参考