speeder
speeder

Reputation: 6296

Strange runtime error, seemly microsoft related

I am using the debug_new tool that come in the pack of tools NVWA made by Wu Yongwei. http://wyw.dcweb.cn/

I turned it off once to track a heisenbug, that now is fixed. But as I turned it on, my program throws a bizarre error:

It loads, but before accepting any input it quits and writes on the console:

"This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information

Process returned 3 (0x3) execution time : 0.828s"

How I debug that? I have no idea what on the code is throwing the error (since when using a debugger it still quits the same way, and the debugger reports no errors with exit of the debugger being 0)

EDIT for those that don't read tags: I am using C++, compiling with MingW on Windows.

Upvotes: 1

Views: 702

Answers (2)

Michael Burr
Michael Burr

Reputation: 340218

If you're running under the Visual Studio debugger, go to the Debug/Exceptions menu and check the box for the "C++ Exceptions" item - this will cause the debugger to break whenever an exception is thrown.

You might need to fiddle with the various sub-options (std:exception, void, etc) for the exception types if your code throws a lot of exceptions that it catches and you're not interested in breaking into the debugger when they get thrown.

Upvotes: 1

J.J.
J.J.

Reputation: 5069

KB884538 -- try installing the hotfix.

Upvotes: 0

Related Questions