Browse Source

add dbg opts

cxgeorge 24 years ago
parent
commit
523fd913dd
1 changed files with 9 additions and 1 deletions
  1. 9 1
      direct/src/showbase/ppython

+ 9 - 1
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