#656 Variables display corrupted by carriage returns in values

Debugger (177)

If any in-scope variable value contains a literal carriage return (\r) character, the display in the Debugger Variables window is corrupted. The variable with the embedded carriage return is hidden, and some unrelated variables in the display may also be hidden.

If, later in the program execution, the embedded carriage return disappears from the variable value, the Variables window display returns to normal.

Single-stepping through the following simple test case reliably reproduces the bug; here the variable $var1 is hidden when its value contains a carriage return, and so is the unrelated variable $var2:

my $var1 = "This is a variable.";
my $var2 = "This is an unrelated variable.";

print "$var1\n$var2\n";

$var1 = "A carriage return \r is embedded.";

print "$var1\n$var2\n";

$var1 = "No more carriage return!";

print "$var1\n$var2\n";


  • Simone Cumar

    Simone Cumar - 2013-11-25

    I confirm almost the same behaviour. The EPIC plugin also throws an Exception and stops showing variables.
    The message showed up is:
    «An internal error occurred during: "child count update".

    I can also confirm that if the carriage return is deleted all works again.

    • Jan Ploski

      Jan Ploski - 2013-11-25

      This problem is not reproducible in EPIC 0.6.53 under Linux. Consider upgrading.

      • Simone Cumar

        Simone Cumar - 2013-11-25

        Moving from stable to testing repos resolved the problem. Thanks.

  • Simone Cumar

    Simone Cumar - 2013-11-25
    Last edit: Simone Cumar 2013-11-25
  • Oliver Trosien

    Oliver Trosien - 2016-05-12
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks