|
From: <caw...@us...> - 2007-09-11 15:39:07
|
Revision: 3134
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=3134&view=rev
Author: cawilliams
Date: 2007-09-11 08:39:03 -0700 (Tue, 11 Sep 2007)
Log Message:
-----------
show file name properly for external breakpoints in breakpoint listing
Modified Paths:
--------------
trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/DebugModelPresentation.java
Modified: trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/DebugModelPresentation.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/DebugModelPresentation.java 2007-09-11 14:18:38 UTC (rev 3133)
+++ trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/DebugModelPresentation.java 2007-09-11 15:39:03 UTC (rev 3134)
@@ -29,7 +29,7 @@
if (item instanceof RubyLineBreakpoint) {
RubyLineBreakpoint breakpoint = (RubyLineBreakpoint) item;
try {
- return breakpoint.getMarker().getResource().getName() + ":" + breakpoint.getLineNumber();
+ return breakpoint.getFileName() + ":" + breakpoint.getLineNumber();
} catch (CoreException e) {
DebugUIPlugin.log(e) ;
return "--";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|