2011-10-31 3 views
0

jprofile을 설치하여 메모리 누수를 조사하고 netbeans 6.9.1을 사용하여 통합 IDE를 클릭했습니다. 프로필 프로젝트를 클릭하면 내 웹 응용 프로그램을 실행하는 데는 문제가 없습니다. 그러나 프로젝트를 다시 디버깅하려면 jprofile을 디버깅하고 싶을 때 실행 중입니다. 프로필 대신 디버그 버튼을 클릭하십시오]. 이로 인해 디버깅이 항상 실패합니다.netbeans를 사용하여 jprofile을 통합 해제하는 방법

Glassfish 서버 출력 콘솔.

JProfiler> Protocol version 33 
JProfiler> Using JVMTI 
JProfiler> JVMTI version 1.1 detected. 
JProfiler> 32-bit library 
JProfiler> Listening on port: 33200. 
JProfiler> Instrumenting native methods. 
JProfiler> Can retransform classes. 
JProfiler> Can retransform any class. 
JProfiler> Native library initialized 
JProfiler> VM initialized 
JProfiler> Waiting for a connection from the JProfiler GUI ... 

나는 프로파일로 말하지 않았지만이 로그는 콘솔에 표시됩니다. jprofile 내에서 uninstall 또는 unintegrate 옵션을 살펴 보았고 non가 있습니다. 그러나 Tools> Plugins 메뉴를 볼 때 jprofile은 플러그인으로 등록되지 않습니다. jprofile을 unintegrate 할 수있는 방법이 있습니까?

참고 : 이미 전체 "C : \ Program Files \ Netbeans 6.9.1 \"폴더를 덮어 쓰고 jprofile의 xml 구성과 "modules \"폴더 내의 jar 파일을 이미 제거했습니다. 하지만 넷빈을 재시작하고 디버그 버튼을 클릭하면됩니다. 여전히 JProfiler 프롬프트가 표시됩니다. 1. \ NetBeans 6.9.1 \ ide \ config \ Modules \ com-jprofiler-integration-netbeans.xml 2. \ NetBeans 6.9.1 \ ide \ update \ backup \ netbeans \ config \ Modules \ com-jprofiler-integration -netbeans.xml

답변

2

JProfiler 통합이 설치된 경우에도 디버깅을 통해 java 명령에 프로파일 링 (-agentpath)을위한 VM 매개 변수를 추가하면 안되기 때문에 이상하게 들릴 수 있습니다.

% USERPROFILE % .netbeans \ 6.9 \ modules 디렉토리를보고 com-jprofiler-integration-netbeans.jar을 삭제하십시오. 해당 파일이 없으면 -agentpath 매개 변수가 다른 방식으로 추가됩니다. 디버그 구성에 명시 적으로 추가 될 수 있습니다.

관련 문제