[hg] main-silver: #221978: Check for null thread reference.

  • From:
  • To:
  • Subject: [hg] main-silver: #221978: Check for null thread reference.
  • Date: Wed, 14 Nov 2012 10:43:16 -0800

changeset 1291935f7786 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/1291935f7786
description:
        #221978: Check for null thread reference.

diffstat:

 
debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java
 |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff --git 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java
 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java
--- 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java
+++ 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/breakpoints/BreakpointImpl.java
@@ -478,6 +478,7 @@
         }
         resume = brkpSuspend.intValue() == JPDABreakpoint.SUSPEND_NONE || 
e.getResume ();
         logger.fine("BreakpointImpl: perform breakpoint: " + this + " 
resume: " + resume);
+        if (threadReference != null) {
         if (!resume) {
             try {
                 resume = checkWhetherResumeToFinishStep(threadReference);
@@ -490,6 +491,7 @@
         if (!resume) {
             
getDebugger().getThread(threadReference).setCurrentBreakpoint(breakpoint);
         }
+        }
         //S ystem.out.println("BreakpointImpl.perform end");
         return resume; 
     }

[hg] main-silver: #221978: Check for null thread reference.

mentlicher 11/14/2012

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 29 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close