Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

keerthana_hn
Level 3
Level 3

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
KiranVedantam1992
Correct answer by
Community Advisor
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
asutosh_jena
Community Advisor
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!

KiranVedantam1992
Correct answer by
Community Advisor
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

BrianKasingli
Community Advisor
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