[hg] main-silver: #224825: Error values are read-only.

  • From:
  • To:
  • Subject: [hg] main-silver: #224825: Error values are read-only.
  • Date: Thu, 17 Jan 2013 11:59:07 -0800

changeset 5d073a106cfb in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/5d073a106cfb
description:
        #224825: Error values are read-only.

diffstat:

 
debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesTableModel.java
 |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (17 lines):

diff --git 
a/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesTableModel.java
 
b/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesTableModel.java
--- 
a/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesTableModel.java
+++ 
b/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/models/VariablesTableModel.java
@@ -209,6 +209,13 @@
                             Exceptions.printStackTrace(ex);
                         }
                     }
+                    if (row instanceof JPDAWatch) {
+                        JPDAWatch w = (JPDAWatch) row;
+                        String e = w.getExceptionDescription ();
+                        if (e != null) {
+                            return true; // Errors are read only
+                        }
+                    }
                     if (row instanceof ObjectVariable) {
                         String declaredType;
                         if (row instanceof LocalVariable) {

[hg] main-silver: #224825: Error values are read-only.

mentlicher 01/17/2013

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