简体   繁体   中英

Perl EPIC in eclipse: How do I get rid of this Ant Build dialog when trying to run a Perl script?

I have installed Perl EPIC in eclipse Oxygen. Every time I try to Run or Debug a Perl script it keeps throwing up this annoying dialog:

调试为...

I have previously been able debug/run Perl scripts straight from eclipse before without this, even stepping through each line to see inspect Variables. I have already checked " Ant Build " under " Filter checked launch configuration types: " in Preferences -> Run/Debug -> Launching -> Launch Config , but it seems to make no difference.

EDIT: this seems to be specific to certain Perl script files. I can run/debug some Perl script with no problem, but others keep triggering this dialog. All Perl scripts have the same file extension (.pl), they are all in the same folder and are all created within the same eclipse EPIC project...so this is a complete mystery to me.

I have found a workaround by adding another Run Configuration as follows:

Run -> Run Configurations... -> Perl Local -> [+New]:

Name: <Name_of_this_run/launch_configuration>
Project: <Name_of_Perl_Project>
File to execute: <name_of_perlscript.pl>

The relates to another question I have about whether a Run Configuration can be applied to multiple files based on a file name pattern.

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