From 112945657cd32112a6132122eeb7588d80b23db2 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 6 Jun 2016 12:13:39 -0700 Subject: [PATCH] Update debug.sh script for new layout --- tools/debug.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/debug.sh b/tools/debug.sh index 056758f6d0..6a542ab924 100755 --- a/tools/debug.sh +++ b/tools/debug.sh @@ -1,7 +1,8 @@ #!/usr/bin/env bash hash lldb-3.6 2>/dev/null || { echo >&2 "No lldb-3.6, please run 'sudo apt-get install lldb-3.6'"; exit 1; } -test -x bin/powershell || { echo >&2 "No bin/powershell, please run './build.sh'"; exit 1; } +test -x debug/powershell || { echo >&2 "No debug/powershell, please run 'Start-PSBuild -Publish -Output debug'"; exit 1; } +test -x debug/libsosplugin.so || { echo >&2 "No debug/libsosplugin.so, please run 'Start-PSBuild -Publish -Output debug'"; exit 1; } cat << EOF @@ -16,6 +17,6 @@ Most useful commands are 'clrstack', 'clrthreads', and 'pe'. EOF -pushd bin +pushd debug lldb-3.6 -o "plugin load libsosplugin.so" -- ./powershell $@ popd