Hi,
Before you'll start karaf set environment option KARAF_DEBUG to 1. After
that Karaf will start VM with additional parameters to let connect you from
debugger. After that you can debug it as remote java application in Eclipse.

Regards,
Lukasz

-----Original Message-----
From: Mike Van [mailto:[email protected]] 
Sent: Tuesday, October 26, 2010 6:29 PM
To: [email protected]
Subject: Debugging/Using an IDE to debug Karaf


This topic is lightly covered in the documentation, but I was wondering if
anyone has successfully used Eclipse to do the following in Karaf:
 1) set breakpoints in deployed code,
 2) start/stop bundles as they run, and
 3) view the progress as bundles work.

If you have, could you please provide more detailed explanations on how to
do this using Eclipse?

v/r,

Mike Van
-- 
View this message in context:
http://karaf.922171.n3.nabble.com/Debugging-Using-an-IDE-to-debug-Karaf-tp17
74845p1774845.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to