Page 1 of 1

How to debug broadleaf commerce in eclipse

Posted: Sun Apr 27, 2014 2:58 pm
by daniel_locious
hi guys,

I am new to the broadleaf commerce and hv no much experience on remote debug. My approach is to test and debug the demo admin site, but there is no code in the demo admin project, and I am wondering how to add breakpoints to nowhere but the jars. Or shall I add the breakpoints to the core module? I downloaded the broadleaf commerce core modules, but didn't refer my demo admin to depend on them (I tried it in admin/pom.xml but failed). When I try to use remote debug mentioned here by you guys [url]/viewtopic.php?f=14&t=2722[/url], I got an prompt says "...jvm can't replace the running code with the code in the workspace". I would assume this is because I didn't solve the dependencies.

Anyone can comment a more clear tutorial about the debugging process? Any help will be helpful; I've been struggling on this for days.

Cheers,

Dan

Re: How to debug broadleaf commerce in eclipse

Posted: Mon Apr 28, 2014 3:03 pm
by daniel_locious
alright I figured out it myself. I was silly. Simply add all the projects in the build path of admin project and run the remote debug, adding breakpoints to the core projects code will get there.