On 18/05/2013 at 03:59, xxxxxxxx wrote:
Well, I know from the cpp documentation where it is recommended as it is better / more
performant than putting all plugins into debug mode. That is practically what I want to do
in python to. I have now written a little code chunk which places 'c4d_debug' as a fake
argument in the python argument variable table, when it does find a debug.txt file in the
same file the pyp loader is located in. so that each module can throttle its console output
depending on that variable. Would be cool though if maxon would consider to automate
that behaviour. It is easier to remove a file at the end than removing (various) booleans.
from the cpp doc stability and testing :
_Place c4d_debug.txt (an empty text file) inside the user directory (or the folder of _
the compiled plugin files) to find memory leaks.
_
_
edit : as is already said earlier, my main misconception was, that i did assume that
c4d_debug.txt was working on a more general level, but is seems to be ignored by c4d for
python plugins as there are no memory leaks in python. at least not in a technical sense.