Hi,
For debugging you have two options remote debugging and in proc debugging. 
1) enable remote debugging. Search for  ACTIVEMQ_DEBUG_OPTS in your activemq
start script and enable it. You may want to read up on remote debugging
here:
http://www.ibm.com/developerworks/library/os-ecbug/

2) For in proc debugging you will  want to start the broker from a java main
class.  There are several unit test cases that you can look at that show how
to do this-look under the test dirs. Basically you need to instantiate a
ConnectionFactory. Something like:

   ConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");

Clark
PS
I wouldn't try deleting any directories. Many of them are are necessary  and
they are all quite interesting to browse. 



www.ttmsolutions.com 
ActiveMQ reference guide at 
http://bit.ly/AMQRefGuide




codescoder wrote:
> 
> Hi There,
> i have downloaded activemq latest code and mvn.after installing mvn plug
> in i am able to build the code in Eclipse also.when i import the code into
> Eclipse it generate many projects into workspace.
> i am confused from where start the code debugging.i hope it is
> Activemq-core. can i delete the other projects.what they are for.can you
> give me steps for debugging in Eclipse IDE.
> Thank you in advance.
>  
> 

-- 
View this message in context: 
http://old.nabble.com/Debuging-Activemq-code-tp29044048p29049478.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to