console application not reporting line number of run time error

console application not reporting line number of run time error

I am running a console application in a CMD window.  The program exits with an error but says the line number is unknown.  What do I need to do to get the line number?  I tried to paste the cmd window stuff into this post, but line breaks get lost, and makes a mess of things.

Thanks,

Brian

5 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

You should have compiled and linked with /traceback set.

Thanks bunches.  That did the trick.  It took me a while, though, to find the setting for it in VS2012.

Cheers,

Brian

This is on by default for a Debug configuration

Steve - Intel Developer Support

That makes sense, but I inherited this project from someone else who may have turned it off.  Anyhow, I've got it back on, and it's full steam ahead to the next hurdle.

Cheers,

Brian

Leave a Comment

Please sign in to add a comment. Not a member? Join today