ECJ-INTEREST-L Archives

April 2014

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Thu, 10 Apr 2014 15:43:41 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
ECJ does not use or affect asserts in any way: so it had to be your code.

Sean

On Apr 10, 2014, at 3:30 PM, Eric 'Siggy' Scott <[log in to unmask]> wrote:

> Inside my custom Problem implementation, I had an assert that was failing, but no output was printed to the screen.  The evolutionary run just crashed without explanation.
> 
> Debugging was tricky, because all I knew was that it crashed with "-ea" and didn't crash without it.
> 
> Does ECJ somehow suppress assert messages even when asserts are enabled?  Or is it more likely that I somehow managed to do so myself?
> 
> Siggy
> 
> -- 
> 
> Ph.D student in Computer Science
> George Mason University
> http://mason.gmu.edu/~escott8/

ATOM RSS1 RSS2