Can you set Developer Studio to stop compile on first error?

Posted by jquerijero on 27-Jan-2015 14:10

I set the 'Maximum number of errors reported per build' to 1, hoping that long delay after compiling a program with error will go away.

Is there a trick to stop the compile on first chance of error? The delay is a time waster for big program.

All Replies

Posted by Swathi Yellavaram on 06-Feb-2015 00:39

In a large file, if there are multiple errors. Setting 'Maximum number of errors reported per build' option to 1, does not seem to stop building for first error in same file. Complete file is built and errors are shown. However this option makes sure when you are doing Project Compile, It stops compilation for next file after errors in a file.

Thanks,

Swathi.

Posted by Mike Fechner on 06-Feb-2015 00:49

To me this is expected behavior.
 
PDSOE relies on the AVM to do the compile. The only feature that allows to compile is the COMPILE statement in the ABL. So a single compile invocation is the atomic unit that cannot be broken.
 
It would IMHO require a ABL COMPILE statement change to stop on first error and not try to evaluate the file any further.
Von: Swathi Yellavaram [mailto:bounce-syellava@community.progress.com]
Gesendet: Freitag, 6. Februar 2015 07:40
An: TU.OE.Development@community.progress.com
Betreff: RE: [Technical Users - OE Development] Can you set Developer Studio to stop compile on first error?
 
Reply by Swathi Yellavaram

In a large file, if there are multiple errors. Setting 'Maximum number of errors reported per build' option to 1, does not seem to stop building for first error in same file. Complete file is built and errors are shown. However this option makes sure when you are doing Project Compile, It stops compilation for next file after errors in a file.

Thanks,

Swathi.

Stop receiving emails on this subject.

Flag this post as spam/abuse.

Posted by jquerijero on 12-Feb-2015 08:40

This is correct. It looks like the behavior is also true for compiling subfolder.

This thread is closed