|
From: <caw...@us...> - 2007-01-06 17:59:41
|
Revision: 1755
http://svn.sourceforge.net/rubyeclipse/?rev=1755&view=rev
Author: cawilliams
Date: 2007-01-06 09:59:37 -0800 (Sat, 06 Jan 2007)
Log Message:
-----------
apply patch from Martin Krauskopf Ticket #222 - Markus please review this and revert if this isn't right...
Modified Paths:
--------------
trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/ClassicDebuggerCommandFactory.java
Modified: trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/ClassicDebuggerCommandFactory.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/ClassicDebuggerCommandFactory.java 2007-01-05 15:49:38 UTC (rev 1754)
+++ trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/ClassicDebuggerCommandFactory.java 2007-01-06 17:59:37 UTC (rev 1755)
@@ -21,15 +21,15 @@
}
public String createStepOver(RubyStackFrame stackFrame) {
- return "th " + ((RubyThread) stackFrame.getThread()).getId() + " ; next " + stackFrame.getIndex();
+ return "th " + ((RubyThread) stackFrame.getThread()).getId() + " ; next";
}
public String createStepReturn(RubyStackFrame stackFrame) {
- return "th " + ((RubyThread) stackFrame.getThread()).getId() + " ; next " + (stackFrame.getIndex() + 1);
+ return "th " + ((RubyThread) stackFrame.getThread()).getId() + " ; next " + (stackFrame.getLineNumber() + 1);
}
public String createStepInto(RubyStackFrame stackFrame) {
- return "th " + ((RubyThread) stackFrame.getThread()).getId() + " ; step " + stackFrame.getIndex();
+ return "th " + ((RubyThread) stackFrame.getThread()).getId() + " ; step";
}
public String createReadThreads() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|