troubleshooting Question

How do I bring up the debugger when code executes?

Avatar of magdt
magdt asked on
C
3 Comments1 Solution221 ViewsLast Modified:
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.

Thanks,!
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros