Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-152

Programmers Guide - documented bult-in Tracing methods do not match method names in class Helper

XMLWordPrintable

    • Hide

      Run the rule checker with this in the DO block

      DO traceOpen("dfile", "/tmp/byteman-trace.txt")

      Show
      Run the rule checker with this in the DO block DO traceOpen("dfile", "/tmp/byteman-trace.txt")
    • Documentation (Ref Guide, User Guide, etc.)
    • Hide

      Use the method names in the Helper.java class in you rule.

      Show
      Use the method names in the Helper.java class in you rule.

      The Programmers Guide has a section on Tracing. page 31.

      The tracing section indicates the built-in methods to support logging of trace methods are

      public boolean traceOpen(Object identifier, String filename)
      public boolean traceOpen(Object identifier)

      These should be method names with the signature of openTrace as they are in the Helper class. The same goes for

      traceClose(Object identifier)
      should be
      closeTrace(Object identifier)

      org.jboss.byteman.rule.helper.Helper.java

              rhn-engineering-adinn Andrew Dinn
              jwhiting@redhat.com Jeremy Whiting
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: