CQ5 debug bundles using eclipse won't halt | AEM Community Blog Seeding | Community
Skip to main content
kautuk_sahni
Community Manager
Community Manager
May 27, 2020

CQ5 debug bundles using eclipse won't halt | AEM Community Blog Seeding

  • May 27, 2020
  • 0 replies
  • 1809 views

BlogImage.jpg

CQ5 debug bundles using eclipse won't halt by howtoaem Blog

Abstract

I created a bundle that I already uploaded, but I would like to debug it. I started the server with debug mode: java -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n -XX:MaxPermSize=256m -Xmx1024M -jar AEM_6.0_Quickstart.jar, and then I set to the project that packaged into the bundle its remote debugging configuration, but when I set the breakpoints in the project, it won't halt where it needs to when the lines are executed.

I looked where am I go wrong, but I see that this is how everybody doing it, and it works for them.

Best How To:
Below are some steps that can be helpful. Use that command line to start your CQ instance.java -jar cq5-author-4502.jar -fork -forkargs -- -Xdebug -Xrunjdwp:transport=dt_socket,address=59865,suspend=n,server=y -Xmx1520m -XX:MaxPermSize=512m -XX:-UseSplitVerifier

Read Full Blog

CQ5 debug bundles using eclipse won't halt

Q&A

Please use this thread to ask the related questions.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.