NetBeans Break points
807598May 25 2006 — edited May 25 2006Anyone have the same problem as me:
Programme runs fine.
Need to debug and run to a break point.
Insert the breakpoint.
Run programme and get NullPointerException.
Unable to debug code
Take out breakpoint
Programme runs fine again.
Add breakpoint somewhere else
Code doesn't work. NullPointerException.
Take out breakpoint
Programme runs fine again.
Repeat process ad nauseum until you find a "random" point in your programme where it will work with a break point. Which then means you might have to step through lines and lines of code until you can debug the section you first want to break on.
Dan