Fixed the NPE seen in TISTUD-4345.
TISTUD-5861 NPE when debugging a classic project without breakpoint