From 523fd913ddda4361fc34dda33eb443b2918f5e02 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Tue, 27 Nov 2001 22:58:57 +0000 Subject: [PATCH] add dbg opts --- direct/src/showbase/ppython | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/direct/src/showbase/ppython b/direct/src/showbase/ppython index 6fedfc630a..7a78cefa44 100755 --- a/direct/src/showbase/ppython +++ b/direct/src/showbase/ppython @@ -47,12 +47,20 @@ fi HOME=`cygpath -w $HOME` export HOME +if [ x"$1" = x"-msdev" ]; then + # used for local machine debugging of vc dlls called by python + shift 1 + exec msdev ${1+"$@"} & +elif [ x"$1" = x"-remotedbg" ]; then + # run msvc remote debug setup on local dbg tgt machine, connect using msdev on another machine + shift 1 + exec msvcmon ${1+"$@"} & +elif [ x"$1" = x"-d" ]; then # We can't run with -u under windows for some reason. But we do need to # make a distinction between python_d and python. We'll accept the user # parameter -d to indicate we should run python_d. -if [ x"$1" = x"-d" ]; then shift 1 exec python_d ${1+"$@"} else