mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-29 23:39:24 +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>) {
|
while(my $line = <$output>) {
|
||||||
if($line =~ s/^#\d+//) {
|
if($line =~ s/^#\d+//) {
|
||||||
|
next if $line =~ /\?\?/;
|
||||||
|
next if $line =~ /in main\s*\(/;
|
||||||
|
|
||||||
$line =~ s/\s*0x[0-9a-fA-F]+\s*//;
|
$line =~ s/\s*0x[0-9a-fA-F]+\s*//;
|
||||||
$result .= "$line ";
|
$result .= "$line ";
|
||||||
}
|
}
|
||||||
elsif($line =~ s/^\d+//) {
|
elsif($line =~ s/^\d+//) {
|
||||||
|
$result .= "at " if not length $result;
|
||||||
$result .= "statement: $line";
|
$result .= "statement: $line";
|
||||||
last;
|
last;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user