- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just got a problem opposite to the following one.
After I built the solution, I run it with Debug--> Start without debugging. It works.
But, when I try to run it in DOS command line, it failed with stack overflow.
It sure uses lots of memory. But why it works with "start without debugging".
http://softwarecommunity.intel.com/isn/Community/en-US/forums/permalink/30234645/30224268/ShowThread.aspx#30224268
wchiang@flowscience.com:
After I built successfully a program, I clicked on Debug..Start Without Debugging, or Ctrl-F5, and got the message:
Visual Studio cannot debug because a debug target has not been specified.
What should I do?
Wen
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I cannot think of a reason why it would work from Visual Studio and not from the command line, unless it had to do with the input file being used. Try adding the /heap-arrays option (in Visual Studio you have to type this in for Additional Options on the Command Line property page.) This will cause temporary and automatic arrays to be allocated on the heap instead of the stack. (Requires a 9.1 compiler from the last six months.)

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