AEM form does not load when running in debug mode | Community
Skip to main content
March 28, 2023
Solved

AEM form does not load when running in debug mode

  • March 28, 2023
  • 1 reply
  • 1168 views

Hi,

 

AEM form on a page does not even load when running in debug mode. But when same is loading when working on non-debug mode.

 

I am setting below JVM parameters. Removing the JVM debug parameter loads the page on the page. Adding it back loads the page but not the form, while other components on page I am able to debug. I need to debug some backend functionalities implemented in project's AEM forms.

 

set CQ_JVM_OPTS=-Xmx1200m -XX:MaxMetaspaceSize=512M -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=3000

 

Requesting someone to help on the same.

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

Hi @deepak1990salunkhe 
It could be that you might have breakpoints. which is interrupting the execution.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
March 28, 2023

Hi @deepak1990salunkhe 
It could be that you might have breakpoints. which is interrupting the execution.

Arun Patidar
March 29, 2023

Hi @arunpatidar

The the reason I have added breakpoints is to do the debugging. Our AEM forms calls a servlet where I have kept breakpoints. I did not get your point. Please help us better understand your comment.

arunpatidar
Community Advisor
Community Advisor
March 29, 2023

If you remove all breakpoints, does forms load then?

Arun Patidar