• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How can we run .bat file through eclipse?

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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".
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic