mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 20:09:43 +01:00
compiler_vm: updated watchdog
This commit is contained in:
parent
65d1d49aaf
commit
f35874b6ea
@ -91,10 +91,14 @@ sub debug_program {
|
||||
|
||||
while(my $line = <$output>) {
|
||||
if($line =~ s/^#\d+//) {
|
||||
next if $line =~ /\?\?/;
|
||||
next if $line =~ /in main\s*\(/;
|
||||
|
||||
$line =~ s/\s*0x[0-9a-fA-F]+\s*//;
|
||||
$result .= "$line ";
|
||||
}
|
||||
elsif($line =~ s/^\d+//) {
|
||||
$result .= "at " if not length $result;
|
||||
$result .= "statement: $line";
|
||||
last;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user