|
From: <caw...@us...> - 2007-08-09 13:51:06
|
Revision: 2950
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=2950&view=rev
Author: cawilliams
Date: 2007-08-09 06:51:03 -0700 (Thu, 09 Aug 2007)
Log Message:
-----------
apply Martin's patch
Modified Paths:
--------------
trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/RubyDebuggerProxy.java
Modified: trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/RubyDebuggerProxy.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/RubyDebuggerProxy.java 2007-08-09 13:01:17 UTC (rev 2949)
+++ trunk/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/RubyDebuggerProxy.java 2007-08-09 13:51:03 UTC (rev 2950)
@@ -225,6 +225,7 @@
public RubyVariable readInspectExpression(RubyStackFrame frame, String expression) throws RubyProcessingException {
try {
+ expression = expression.replaceAll("\n", "\\\\n");
this.println(commandFactory.createInspect(frame, expression));
RubyVariable[] variables = new VariableReader(getMultiReaderStrategy()).readVariables(frame);
if (variables.length == 0) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|