I have tried this over and over for a long time, but somehow it doesn't work.

I also tried with and without a comma. I also tried running this line right in front of the breakpoint to make sure the condition really works,
logger.error("I am Here! " + "#PDU Elements: " + pdu.getVariables().size());
and it returns 13 as expected.
Does anyone know how to make this work?
EDIT
Upon request, I will add the code run lines at the breakpoint,
logger.error("I am Here! " + "#PDU Elements: " + pdu.getVariables().size());
Trap trap = Trap.createTrapFrom(variableMap, instanceIdentificationNumber); // Breakpoint in margin on this line.
EDIT 2
The problem seems to be due to the IDEA accidentally missing some breakpoints. I also tried some unconditional breakpoints (should always stop), and they stop only at certain times.
source
share