I have a program that I wrote that works fine when it is run by itself. I gave it out to a few people who added it to their scripts. While it doesn't crash it does behave poorly from within scripts.
What I would like to do is to put some type of statement inside my C program that would cause visual C++ debugger to be brought up so I can start debugging.
Is there such a statement? I was told this is possible but I can't figure out how to do it.