• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can we run .bat file through eclipse?  RSS feed

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I am in a big problem,Thruogh .bat file i can run my application.That .bat file runs the thread and it will do the operation.Now i want to debug that application in Eclipse3.0? Is it possible.
If it is possible how can i do? where can i mention that .bat run up.

Thanks
T. Shankar Reddy
 
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't need to run the application through Eclipse to be able to debug it. Look into the online help for "remote debugging".
 
Bartender
Posts: 18870
77
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ALTHOUGH.

There are more complex cases than simple standalone Java app debugging. You can run a ".BAT" file as an External Tool. It's how I have to print from Eclipse under Java, since the Eclipse people refuse to build Linux printing into Eclipse itself.

If, within that ".BAT" file, you have a java app(s) that need debugging, just set up the java command line with remote debugging enabled, then have Eclipse attach as a remote debugger.

Mind you, this is the kind of nasty evil stuff I like to do, and isn't appropriate for most situations.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!