Skip to content
Browse files

doh, never cut & paste from a debug session...

  • Loading branch information...
1 parent e3385a3 commit 15bc17ae0184480bb285e92a695ffe04ef643f8f @witsch witsch committed Jan 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Commands/Python: set mr_freeze breakpoint.tmCommand
View
2 Commands/Python: set mr_freeze breakpoint.tmCommand
@@ -27,7 +27,7 @@ if [[ "$url" =~ ^http://[^:]*:([0-9]*)/ ]]; then
pid=$( lsof -nF -itcp:$port | grep ^p | tr -d p | sort -nr | head -1 )
lock=$( lsof -F -p $pid | grep '^n.*/instance\.lock$' )
freeze=$( echo $lock | cut -c2- | sed 's/lock$/freeze/' )
- path=$( readlink "$p" || echo "$p" )
+ path=$( readlink "$path" || echo "$path" )
echo -e "freeze $path $line\npony" > "$freeze"
echo "set up freeze file at $freeze:"
cat "$freeze"

0 comments on commit 15bc17a

Please sign in to comment.
Something went wrong with that request. Please try again.