How to start Visual studio in debug mode after reboot

Hi,
I have a program in VC++  running in debug mode.
It crashes in release mode so I run it in debug mode.

In case a script makes the computer reboot I want the program to restart in debug mode after reboot.
Is it possible to do it and how?
Thanks
star90Asked:
Who is Participating?
 
AndyAinscowFreelance programmer / ConsultantCommented:
Compile it as a DEBUG build - then it will run in debug mode.

ps.  You are not allowed (and it is silly) to distribute the microsoft debug dll's it will require.


pps.  The best is to fix your error in your code then you can run it as release.
0
 
star90Author Commented:
Hi,
Thanks for the answer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.