maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Gold <r...@gold-family.us>
Subject Re: Is there a Maven plugin for the Java debugger (jdb)?
Date Thu, 10 Oct 2013 15:21:04 GMT
The simplest way to do this is actually to run it in your IDE directly. IntellijIDEA community
edition can import your maven project and thus get all of the dependencies. Then you just
run the program in the debugger. I presume Eclipse can do something similar.

On Oct 10, 2013, at 10:52 AM, Andrew Pennebaker <apennebaker@42six.com> wrote:

> Yes. I'm looking for a task like `mvn jdb:debug <Class>` that starts a jdb
> session on <Class>.main().
> 
> I can run jdb on individual Java code outside of a Maven structure, but I'm
> not sure how to inform jdb of Java code in a Maven project, Maven's
> CLASSPATH handling, etc. etc.
> 
> 
> On Thu, Oct 10, 2013 at 10:46 AM, Benson Margulies <bimargulies@gmail.com>wrote:
> 
>> What would that mean? Do you want to execute the program in the debugger?
>> 
>> On Thu, Oct 10, 2013 at 10:38 AM, Andrew Pennebaker
>> <apennebaker@42six.com> wrote:
>>> I'd like to run jdb over some of my classes in a Maven project. Is there
>> a
>>> plugin I can drop into my pom.xml?
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
>> 

-----------------
Author, Getting Started with Apache Maven <http://www.packtpub.com/getting-started-with-apache-maven/video>

Come read my webnovel, Take a Lemon <http://www.takealemon.com>, 
and listen to the Misfile radio play <http://www.fuzzyfacetheater.com/misfile/>!








Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message