The debugger shutdown code which gets executed in the target language, before the original script gets executed. If the code fails executing, the error is printed to sys.stderr and the actual script will be executed regardless. E.g. For Python:
{
" import mydebugger\n"
" ptvsd.enable_attach(None)\n"
"except:\n"
" mydebugger = None\n"
" raise\n");
}
Definition: c4d_string.h:39
MAXON_METHOD String GetStartupScript() const
#define MAXON_METHOD
Definition: interfacebase.h:1012
- Returns
- Startup script, including \n and 4-spaces. Can return an empty string.