Scala macro debugger demo
###Features:###
- Showing of synthetic source code of files containing macro calls
- Debugging of the synthetic code (all the features - stepping, local variables, etc.)
- Gutter markers for macro calls
A short screencast, which shows the features in action: http://www.screenr.com/w877.
###How to use:###
-
Install the latest version of Intellij IDEA (both Ultimate and Community editions work with the macro debugger).
-
Add
scala.macro.debug.enabled=true
tobin/idea.properties
in the IDEA's install dir. -
Install the Scala plugin using
Settings -> Plugins
. Macro debugger is bundled with the official Scala plugin for IDEA, so you don't need to download additional software. -
Clone this repository and open it in IDEA using
File -> Open...
on the directory of the checkout. -
If you've not yet configured JDK 1.6 in IDEA, do that.
-
Everything's set up - now you can compile the demo project, set some breakpoints and try out the debugger!