Spring xml files are declarative, they are not executed.  So i am not
aware of any way to put breakpoints and i don't think it really mean
anything.
You can raise the log level and check spring log.

On Tuesday, October 26, 2010, Mike Van <[email protected]> wrote:
>
>
>
> All:
>
>
>
> Was able to get this working with Karaf.  To get it running, I had to comment 
> out lines 232 and 240 due to a possible superfluous "x" in
>
>
>
> "x$KARAF_DEBUG" != "x"
>
>
>
> in line 232 in the etc/karaf file .  This may not be a bug, as this is how 
> the file looks in the repository . The path to the file in SVN is:
>
>
>
> karaf-2.0.x/assembly/src/main/distribution/unix-shell/bin/karaf
>
>
>
> Then, I had to change the port to 5004, as something on my system already 
> uses port 5005.
>
>
>
> Setting up the remote debugging in Eclipse was very intuitive (thankfully).
>
>
>
> Using this I was able to do 1 and 3 listed below, and was able to get a lot 
> of good information.
>
>
>
> Unfortunately, as most of my deployment relies on Spring files in XML, I was 
> unable to set breakpoints in the xml files, making it still impossible to see 
> exactly why C3P0 isn't working!
>
>
>
> Does anyone know of a tool that will allow me to set breakpoints in the 
> spring xml files?
>
>
>
> v/r,
>
>
>
> Mike Van
>
>
> ----- Original Message -----
> From: "Mike Van [via Karaf]" <[email protected]>
> To: "Mike Van" <[email protected]>
> Sent: Tuesday, October 26, 2010 12:29:29 PM
> 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 message @ 
> http://karaf.922171.n3.nabble.com/Debugging-Using-an-IDE-to-debug-Karaf-tp1774845p1774845.html
> To start a new topic under Karaf - User, email 
> [email protected]
> To unsubscribe from Karaf - User, click here .
>
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/Debugging-Using-an-IDE-to-debug-Karaf-tp1774845p1775909.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to