As I am thinking of making this debuglog.txt, which would print to a file everytime it jumps to new function, i am checking that using this is safe.
It mentions in manual that it closes open files automatically after a quit. So this does mean that I can open a "debuglog.txt" file, and then write name of function to this file each time it jumps to a new function during execution, and when it then crashes at some point (supposing i encounter a bug), the file would then safely close itself, and i can use notepad to open that file and read its contents?
openFile closes after quit is safe to use?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: openFile closes after quit is safe to use?
Yes, it is.