Netbeans: How do I break on a NullPointerException?
        Posted  
        
            by darren
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by darren
        
        
        
        Published on 2010-04-19T18:19:36Z
        Indexed on 
            2010/04/19
            18:23 UTC
        
        
        Read the original article
        Hit count: 227
        
Hi
When debugging a java program in netbeans, I want the debugger to stop on the line that causes a NullPointerException so I can examine the variables there. I believe I have to use a condition on the breakpoint set at that line, but what is the syntax of the condition?
thanks for the help
© Stack Overflow or respective owner