
Problem with profiler or iostream?
Hi,
this short program compiles and runs ok.
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout << "testoutput";
return(0);
Quote:
}
But when i run it under the VS6.0 profiler there is a line
0,001 0,0 0,001 0,0 1 std::uncaught_exception(void)
(uncaught.obj)
in the profiler output for function time.
when i replace line 3 with: cout << "testoutput" << endl;
I get
0,001 0,0 0,001 0,0 2 std::uncaught_exception(void)
(uncaught.obj)
so, apparantly, cout is causing an uncought exception. Or so the profiler
thinks. But the program runs fine otherwise. If I put in a try and catch
clause it never gets activated.
What causes this exception? What can i do about it? Any general hint, tips
how to profile programs that use the MS VS6.0 stl library?
Thanks - KA