NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Cannot debug unit tests in Maven based projects

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
pjmlp



Joined: 11 Aug 2009
Posts: 8

PostPosted: Wed Jan 05, 2011 10:47 am    Post subject: Cannot debug unit tests in Maven based projects Reply with quote

Hi everyone,

I am using Netbeans 6.9.1 and have a Maven based project.

When I run the unit tests they run fine, but if I try to debug them, I get the following error message:

Code:
Error occurred during initialization of VM
ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
agent library failed to init: jdwp
Java Result: 1
debug-test:
BUILD SUCCESSFUL (total time: 0 seconds)


Any idea if there is a way around this?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo