aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes How can I set command-line arguments in debug mode in Eclipse? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How can I set command-line arguments in debug mode in Eclipse?" Watch "How can I set command-line arguments in debug mode in Eclipse?" New topic
Author

How can I set command-line arguments in debug mode in Eclipse?

John-Philippe Verger
Greenhorn

Joined: Feb 18, 2008
Posts: 24
Hi all,

I have written a Java console application, and I use command- line arguments in the main method of my application.I want to debug this application in Eclipse. When I launch my application in debug mode, I want Eclipse to let me set command-line arguments.But I don't know how to do it.Please, how can I set command-line arguments in debug mode in Eclipse?

Thanks you in advance for your answers.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

If you choose "Debug..." it lets you launch with any parameters you want. The top is for "regular" arguments; the bottom if for JVM parameters.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I set command-line arguments in debug mode in Eclipse?
 
Similar Threads
How to debug a remote application using Eclipse IDE.
cannot sete debug mode in client side code
WSAD Debug issue
Running JBoss Project in Debug Mode
debug j2ee application from Eclipse