|
From: <caw...@us...> - 2007-09-05 21:33:49
|
Revision: 3094
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=3094&view=rev
Author: cawilliams
Date: 2007-09-05 14:33:49 -0700 (Wed, 05 Sep 2007)
Log Message:
-----------
check debugger proxy is not null before adding breakpoint to it
Modified Paths:
--------------
trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyDebugTarget.java
Modified: trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyDebugTarget.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyDebugTarget.java 2007-09-05 21:33:18 UTC (rev 3093)
+++ trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/model/RubyDebugTarget.java 2007-09-05 21:33:49 UTC (rev 3094)
@@ -235,7 +235,8 @@
return;
}
if (!getBreakpoints().contains(breakpoint)) {
- this.getRubyDebuggerProxy().addBreakpoint(breakpoint);
+ if (this.getRubyDebuggerProxy() != null)
+ this.getRubyDebuggerProxy().addBreakpoint(breakpoint);
getBreakpoints().add(breakpoint);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|