[Swift-commit] r2356 - trunk/src/org/griphyn/vdl/karajan
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Thu Dec 4 09:45:10 CST 2008
Author: benc
Date: 2008-12-04 09:45:08 -0600 (Thu, 04 Dec 2008)
New Revision: 2356
Modified:
trunk/src/org/griphyn/vdl/karajan/InHook.java
Log:
console debugger needs to deal with stdin being closed; this case occurs in the NMI Build/Test system, and if stdin is redirected from /dev/null on the commandline
Modified: trunk/src/org/griphyn/vdl/karajan/InHook.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/InHook.java 2008-12-02 16:21:40 UTC (rev 2355)
+++ trunk/src/org/griphyn/vdl/karajan/InHook.java 2008-12-04 15:45:08 UTC (rev 2356)
@@ -55,6 +55,9 @@
m.dumpThreads();
} else if (c == 10) {
logger.debug("Ignoring LF");
+ } else if (c == -1) {
+ logger.debug("End of stdin - exiting debugger");
+ return;
}
else {
logger.warn("Unknown console debugger command "+c);
More information about the Swift-commit
mailing list