Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Intrusive modal error dialog boxes

This dialog box is too intrusive. I've disabled it in the modified Zylin
Embedded CDT.

Suggestions?


-- 
Øyvind Harboe
http://www.zylin.com
Index: CDebugTarget.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt-debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CDebugTarget.java,v
retrieving revision 1.178
diff -u -r1.178 CDebugTarget.java
--- CDebugTarget.java	5 Apr 2005 02:53:31 -0000	1.178
+++ CDebugTarget.java	17 Apr 2005 10:13:16 -0000
@@ -1136,7 +1136,12 @@
 				if ( token.length() > 200 ) {
 					token = token.substring( 0, 200 );
 				}
+				/* Putting up a requester here is too intrusive.
+				 * 
+				 * Getting "cannot access memory" is perfectly normal when e.g. stepping
+				 * through interrupt handlers and the like 
 				status.add( new Status( IStatus.ERROR, status.getPlugin(), ICDebugInternalConstants.STATUS_CODE_ERROR, token, null ) );
+				*/
 			}
 			CDebugUtils.error( status, this );
 		}

Back to the top