코드 프로브 오브젝트

코드 프로브 오브젝트는 프로브 단편에 대한 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 참조

Copyright IBM Corporation and others 2000, 2004.