简体   繁体   中英

how do i debug a java ant program, so that I understand the flow of the program?

Hello I am new to Java and I have a question regarding java debugging so I recently got hold of a Java ant code that is very large so How do i debug to understnad the flow of the program. Usually I debug small codes but this time I dont know where it begins and where it ends. So what is the ideal way to understnad the flow of a java program.

You could use and Integrated Development Environment (IDE) like Eclipse or IntelliJ which have great support for debugging.

What do you exactly mean with "Java ant code" ?

Simple put breakpoints just like a regular java program and run the server in debug mode or Run Java Application in Debug mode.

Ant is only a build tool.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM