2

I'm trying to configure Scala Debuger.

I have specs2 tests:

@RunWith(classOf[JUnitRunner])
class DictionaryTest extends Specification  { ...
  1. I've downloaded preconfigured default scala-ide.
  2. Turn on scala debugger by default like was said on the image (2nd slide). Restart eclipse.
  3. Put breakpoint in my specs2 tests, but when start debugger still see java-like stack-traces when the code reaches the breakpoint (not like on 3rd slide).

Q: Are there some addition steps I should perform to start using/testingscala-debugger ?

Edit: why my screen is different than doc's screenshot. It seems Scala debugger was not On? At least I was hoping to see word 'Scala Display'

1 Answer 1

3

Unfortunately, your probably hit a known limitation. Currently, the new debugger is available for the Scala launcher, but not for the JUnit launcher. Here is the relevant ticket.

You could work around it if you configured the test runner to wait for a remote debugger connection, and then connect the scala debugger as described here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.