java - Play Framework 2 debug not working -


i'm having nightmare of time debugging play framework applications code hot swapping. i'm using latest version (with activator 1.3.2) , i'm developing in java not scala.

i start application using "activator -jvm-debug 9999 run" (also tried "activator -jvm-debug 9999 ~run") eclipse attach debugger port 9999 usual , far good, debugging works fine (even though bit slow, seems normal play).

problem starts edit java file on eclipse , save play never picks changes , code hot swapping won't work, point on seems play stops waiting rest calls time out. if stop debugger eclipse, play restores state , hot swapping starts , can once again make rest calls. if attach debugger again things can debug again, doesn't work.

this happens in debug mode, if use "activator run" runs fine. if run in debug mode, never attach debugger runs fine, problems seem start if debugger attached.

so can't coding since debugging pretty impossible , wonder if play unstable or if there's known issue regarding this. tried best @ searching similar issues without luck.

it's hard figure out going on little information, usual debug workflow, no hot swapping issue, is:

$ activator -jvm-debug # 9999 default port, can omit [myapp] $ run 

after that, connect eclipse debugger, no further issues.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -