Debugging Questions
1, What is the difference between ASSERT and VERIFY macros?
Both the macros evaluates the expression, interrupt the program and give a diagnostic message in debug mode. ASSERT won't perform any of the above tasks in release mode but VERIFY evaluates the expression in release mode.
2. Your application crashes in a remote site. How are you going to get the error information?
So many ways. But a good choice is logging which gets enabled on setting an environment variable.
3. How do you debug a DLL?
Mention an executable for debug session in the project settings.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment