Hi. I installed Eclipse 2019-03 on Ubuntu 19.04, then installed EPIC 0.7.7 from epic-ide.org/updates/testing . I am using perl 5.28.1. Here is a small test program, p.pl:
use feature qw(say);
use strict;
use warnings;
say "Hello world";
warn "A warning";
say "Done";
If I run the Eclipse debugger on this, the text "Hello world" and then "Done" is shown in the console as I step through the program. Expected output: As above and also "A warning" should be shown in red.
If I right-click the console and click "Preferences", the item "Show when program writes to standard error " is checked, and the "standard error text color" is set to red color, see attached screen shot.
So I cannot see that I missed some obvious settings.
I also tried to force STDERR to STDOUT, by adding
open(STDERR, ">&STDOUT");
or by adding
STDERR = STDOUT;
to the top of the script, but it did not help.
I have looked at the source code at https://github.com/jploski/epic-ide but I am not familar with java and I could not find any information about how to compile and deploy changes to the source.
This problem also affects another user, see
https://stackoverflow.com/q/56864486/2173773
Thanks for working on this great plugin!
Hi,
I have not experienced your issue, with various versions of Perl and EPIC, all on Windows 10.
I have not tried to run your program, but here are a few items you could try. The first line sets a variable you can use to conditionally execute code while running under EPIC.
I hope this helps.
Martin