Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to debug #10

Open
thehappycoder opened this issue Aug 2, 2014 · 3 comments
Open

Not able to debug #10

thehappycoder opened this issue Aug 2, 2014 · 3 comments

Comments

@thehappycoder
Copy link

I don't understand how to debug my application.

build.sbt has this:

// This makes possible to attach a remote debugger when development mode is started from the command line
javaOptions in vaadinDevMode ++= Seq("-Xdebug", "-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005")
> vaadinDevMode
[warn] No widgetsets defined or found. Nothing to to.
[success] Total time: 0 s, completed Aug 2, 2014 10:11:10 AM
> container:start
[warn] No widgetsets defined or found. Nothing to to.
[info] Compiling theme 'menu'
2014-08-02 10:11:30.275:INFO::pool-14-thread-5: Logging initialized @238394ms
2014-08-02 10:11:30.446:INFO:oejs.Server:pool-14-thread-5: jetty-9.1.3.v20140225
2014-08-02 10:11:31.946:INFO:oeja.AnnotationConfiguration:pool-14-thread-5: Scanned 0 container path jars, 26 WEB-INF/lib jars, 1 WEB-INF/classes dirs in 1330ms for context o.e.j.w.WebAppContext@32ecf100{/,[file:/Users/anton/thehappycoders/menu/src/main/webapp/, file:/Users/anton/thehappycoders/menu/target/scala-2.10/resource_managed/main/webapp/],STARTING}
2014-08-02 10:11:31.953:INFO:oejw.StandardDescriptorProcessor:pool-14-thread-5: NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
2014-08-02 10:11:31.991:INFO:oejsh.ContextHandler:pool-14-thread-5: Started o.e.j.w.WebAppContext@32ecf100{/,[file:/Users/anton/thehappycoders/menu/src/main/webapp/, file:/Users/anton/thehappycoders/menu/target/scala-2.10/resource_managed/main/webapp/],AVAILABLE}
2014-08-02 10:11:32.003:INFO:oejs.ServerConnector:pool-14-thread-5: Started ServerConnector@5396bee6{HTTP/1.1}{0.0.0.0:8080}
2014-08-02 10:11:32.004:INFO:oejs.Server:pool-14-thread-5: Started @240124ms

Port 5005 is closed

plugins.sbt

// Vaadin SBT plugin
resolvers += "sbt-vaadin-plugin repo" at "http://henrikerola.github.io/repository/releases"

// IDE plugin and others
resolvers += Classpaths.typesafeReleases

addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "0.9.0")

addSbtPlugin("org.vaadin.sbt" % "sbt-vaadin-plugin" % "1.0.0")

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.4.0")
@henrikerola
Copy link
Owner

It says it doesn't find any widgetsets. Is regular widgetset compilation
working?

@thehappycoder
Copy link
Author

The app is working, if you mean that. I use only standard widgetset.

@thehappycoder
Copy link
Author

I tried to upgade to xsbt-web-plugin" % "1.0.0-M4" (it's been said that it supports forking container processes) but seems that sbt-vaadin-plugin does not support it. I had hopes for using -Xdebug for forked process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants