I'm running ActivePerl 5.24 build 2401 x64. Previously, when I was running this build and version in Windows 7, my scripts, when encountering a fatal error, would indicate the line and reason (e.g. "Line too long in file, line 11") in the command prompt from which I was running it. This was great for me to figure out what was wrong and to debug the file.
I've recently migrated to a Windows 10 system. But now, whenever encountering an error in a script, all that happens is a window pops up saying "Perl Command Line Interpreter has stopped working". There is no additional information, and it's a pain in the butt because I have no idea where the script errored and crashed.
To be clear, Perl is installed correctly on the Windows 10 system. When I corrected the script and/or data file, everything ran swimmingly. It's only when there's an error that it displays this message, and it's useless at helping me figure out what's wrong.
I've taken to reconnecting my old system and running any scripts from there, because otherwise it's nearly impossible to figure out what's going on.
Any pointers? Any way I can have the error messages print in Windows 10 in the command prompt rather than popping up a useless message? Or is there another debugging setup that I can use? I tried using perl -d but the debugger is a little too much for my level right now.
For the record, I tried using the latest StrawberryPerl 5.24 build and ran into the exact same problem.