>How can I detect if debug indormation is included in the application at
>runtime?
>
>I want to call a different error handler if I am running with debug information
>or through the debugger.
As far as I remember, you don't get a line number available on your error routine or method. You can check for this and call different handling routines based on that.
Hope this helps.