Control points do not work

In my Blackberry application, the debugger does not hit some breakpoints. I work in Eclipse. Can someone please help me.

+3
source share
3 answers

Quick checklist:

  • Are you debugging an application instead of launching it?
  • - breakpoints shown in Breakpoints view? (Debugging perspective)
  • means do skip all breakpoints on or off? (View breakpoints)
  • Is a specific breakpoint enabled or disabled? (rightclick at breakpoint)
  • - conditional breakpoints and the condition is met? (rightclick at breakpoint)
  • , ? (, )
  • - , ?
  • , : , VM?

:

  • (, main)
  • mock up Hello World
  • 15 .
+17

, Java. , . J2SE Eclipse.

+1

Source code, are you debugging the same compiled code that you are using? They must be the same to trigger line breakpoints. If your run in eclipse try the following to confirm that your source compiles:

  • add println statement just before breakpoint - check that it is printed
  • Try “clear all” and rebuild your project. Very rarely, I had problems with eclipse, and not with "build on save", and restarting or cleaning it all fixed it.
0
source

Source: https://habr.com/ru/post/1720960/


All Articles