Debuging a Scala app -- IntelliJ + sbt-idea-plugin

45 views
Skip to first unread message

Marius

unread,
Jul 2, 2013, 1:42:16 AM7/2/13
to simple-b...@googlegroups.com

I'm developing a Scala application using IntelliJ Idea 12, sbt and sbt-idea plugin. I generated all necessary files by saying "gen-idea" and everything goes well -- I was able to compile the sources in command line in sbt as well in IntelliJ Idea 12 itself using menu Build->Make Project.

Here is my main class (Application.scala)

object Application extends App {
  val a = 12345
  println("application entry point 1235")
}

I have a breakpoint at val a = 12345.

1) There were other errors before, but now says "Module is not specified". How do I solve this?

I'll be posting updates since there would be other errors as my gut tells me.


Mark Harrah

unread,
Jul 2, 2013, 7:27:26 AM7/2/13
to simple-b...@googlegroups.com
Please do not cross post to both here and StackOverflow without at least linking between them.

Thanks,
Mark

On Mon, 1 Jul 2013 22:42:16 -0700 (PDT)
Marius <gilded...@gmail.com> wrote:

>
>
> I'm developing a Scala application using IntelliJ Idea 12, sbt and sbt-idea
> plugin <https://github.com/mpeltonen/sbt-idea>. I generated all necessary
> files by saying "gen-idea" and everything goes well -- I was able to
> compile the sources in command line in sbt as well in IntelliJ Idea 12
> itself using menu* Build->Make Project*.
>
> Here is my main class (Application.scala)
>
> object Application extends App {
> val a = 12345
> println("application entry point 1235")}
>
> I have a breakpoint at val a = 12345.
>
> 1) There were other errors before, but now says "Module is not specified".
> How do I solve this?
>
> I'll be posting updates since there would be other errors as my gut tells
> me.
>
> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
> To post to this group, send email to simple-b...@googlegroups.com.
> Visit this group at http://groups.google.com/group/simple-build-tool.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

eric vantillard

unread,
Jul 3, 2013, 3:39:30 AM7/3/13
to simple-b...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages