You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to spawn a scala shell in my code for debugging purposes. I tried with the following snippet of code, but the debug> shell that I get hangs after the first command. See the output below.
importscala.tools.nsc.interpreter.ILoop._importscala.tools.nsc.interpreter.NamedParamobjectTestDebugger {
defmain(args: Array[String]) {
0 to 10 foreach { i =>
breakIf(i ==5, NamedParam("i", i))
println(i)
}
}
}
$ scala /tmp/test.scala
0
1
2
3
4
Debug repl starting. Binding 1 value.
i: Int = 5
debug> i
(it doesn't accept any input + it doesn't terminate)
any help is appreciated. thanks.
cheers,
Yanick
The text was updated successfully, but these errors were encountered:
OS: ubuntu 12.04
Scala 2.9.2
I was trying to spawn a scala shell in my code for debugging purposes. I tried with the following snippet of code, but the debug> shell that I get hangs after the first command. See the output below.
any help is appreciated. thanks.
cheers,
Yanick
The text was updated successfully, but these errors were encountered: