Hello Eugene, Thank you for fast response. My tests do run during test phase. I can pause build process via Susspend button in debug perspective\debug view. But break points don't work as if building process does not see my source. When I connect to mvn "manually" everything works fine. I tried it on Eclipse3.3 on Windows and Eclipse3.2 on Linux. Can I specify source files for build via maven plugin. Any ideas what I do wrong?
Thanks in advance. --Mark ----- Original Message ---- From: Eugene Kuleshov <[EMAIL PROTECTED]> To: [email protected] Sent: Wednesday, September 26, 2007 10:37:36 PM Subject: Re: [m2eclipse-user] Debug maven build Mark Davis wrote: > In maven plugin flash demo I've seen it is possible to debug maven > builds. > > However when I try to place breakpoint in test method, switch to debug > perspective and then run maven test nothing happens. > Seems break points are ignored. > > How to make debugging work? No need to make anything it should just work because Maven launch configuration starts with debug enabled by default. So, you just need to specify "test" goal in the launch configuration. There is a chance that your test is not being executed by Maven, but when you switch to the Debug perspective, on Debug view after launching Maven you should see jvm process for running Maven instance and you should be able to suspend it using view toolbar to verify what you actually running under debugger. regards, Eugene --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
