Skip to content

Commit

Permalink
Merge pull request #1884 from sonndinh/stuck_stacks
Browse files Browse the repository at this point in the history
Add delimiters for stuck stacks report
  • Loading branch information
mitza-oci authored Jul 14, 2022
2 parents 0614b2a + 77ac4bb commit d0747d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ACE/bin/PerlACE/Process_Unix.pm
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,9 @@ sub WaitKill ($;$)

my $commands = ($debugger eq 'gdb') ?
"-ex 'set pagination off' -ex 'thread apply all backtrace'" : "-o 'bt all'";
print STDERR "\n======= Begin stuck stacks =======\n";
system "$debugger --batch -p $self->{PROCESS} $commands";
print STDERR "======= End stuck stacks =======\n";
}

if ($ENV{ACE_TEST_GENERATE_CORE_FILE}) {
Expand Down

0 comments on commit d0747d4

Please sign in to comment.