@oBFusCATed : Thank you very much for answering my questions.
If there is no source, the file could not be opened in C::B. C::B is telling you that it doesn't know the type of the life => it is not a source file and thus it cannot open it in the editor.
Ok. Thank you for explaining.
Q1: No, if inside the function you catch it
- Well, I've added a bp in front of 'std::cout << "Something went wrong."' inside the "catch(...)" block
=> but this bp is NEVER reached...
- I've also added a bp in front of 'std::cout << "END OF aMethod()"' after the try/catch block at the end of the method
=> and this bp IS reached...
=> So an exception is thrown but is not caught!
Really I'm confused (maybe I shouldn't be). I guess I'm missing something...
Q2: The stdout/stderr of your program is printed to a terminal on linux/macosx and to cmd.exe on windows. This works only if the target type is "console"
Ok. So, to have the console pop up, here is what I did:
"Project -> Properties -> Build targets -> Debug"
"Type: Console application"
I checked "Pause when execution ends".
(If this check box is unchecked, no console actually pops up).
Best regards,
--
Léa