- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should have compiled and linked with /traceback set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks bunches. That did the trick. It took me a while, though, to find the setting for it in VS2012.
Cheers,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is on by default for a Debug configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page