Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

IntelliJ IDEA: Breakpoint not being hit, and is shown without the tick, just a red dot

Avatar

Level 5

Hi all, 

 

The tick mark for the break is not showed when the debug is switched on in Intellij. Can anyone share the solution for this?  

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @keerthana_hn,

 

To start the debug mode, below are the steps

  1. Start the server in debug mode
  2. Configure the same debug port in IntelliJ
  3. In the debug configurations, select the project core module which you want to debug
  4. Make sure the code you are debugging is installed in the debug server

Hope this helps.

 

Thanks,

Kiran Vedantam

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @keerthana_hn 

 

Please look for the detailed steps here:

https://www.jetbrains.com/help/idea/debugging-your-first-java-application.html#setting-breakpoints

 

Also please ensure to start the program in debug mode and then refresh the AEM page to ensure the program is going into debug mode. Break points needs to be added before the program is started.

 

Thanks!

Avatar

Correct answer by
Community Advisor

Hi @keerthana_hn,

 

To start the debug mode, below are the steps

  1. Start the server in debug mode
  2. Configure the same debug port in IntelliJ
  3. In the debug configurations, select the project core module which you want to debug
  4. Make sure the code you are debugging is installed in the debug server

Hope this helps.

 

Thanks,

Kiran Vedantam

Avatar

Community Advisor

@keerthana_hn,

Take a look at this video tutorial where it provides you step by step on how to setup your local AEM 6.5 development environment using IntelliJ - https://www.youtube.com/watch?v=2Vi7Zt52I_A