diff --git a/org.ntlab.traceCollector/src/org/ntlab/traceCollector/handlers/InstrumentationHandler.java b/org.ntlab.traceCollector/src/org/ntlab/traceCollector/handlers/InstrumentationHandler.java index f1a1b6f..a79d04c 100644 --- a/org.ntlab.traceCollector/src/org/ntlab/traceCollector/handlers/InstrumentationHandler.java +++ b/org.ntlab.traceCollector/src/org/ntlab/traceCollector/handlers/InstrumentationHandler.java @@ -88,10 +88,11 @@ // �C���X�g�D�������e�[�V�������s�� final String CLASS_PATH = classPath; - Tracer.initialize(new OutputStatementsGenerator(getGenerator()), cp); // �����ŏo�̓t�H�[�}�b�g���w�肷�� + final ClassPool CP = cp; Job job = new Job("Instrumentation") { @Override - protected IStatus run(IProgressMonitor monitor) { + protected IStatus run(IProgressMonitor monitor) { + Tracer.initialize(new OutputStatementsGenerator(getGenerator()), CP, monitor); // �����ŏo�̓t�H�[�}�b�g���w�肷�� monitor.beginTask("Running instrumentation...", IProgressMonitor.UNKNOWN); Tracer.packageInstrumentation("", CLASS_PATH + "/"); monitor.done();