debugging + assert
Posted: Sat Oct 06, 2012 4:40 pm
Hi,
I'm using 'assert' from the standard C++ headers.
When debugging a failing assert
- (under Linux) acts as a breakpoint and one can use gdb commands like 'where'
- (under Windows/MinGW)
- on a command line: I do see the assert message but then I get
"The application has requested the Runtime to terminate it in unusual way.
And using gdb's 'where' command just tells me "No Stack"
- when run within CodeLite an output window is opened and closed immediately,
so I cannot even see the assert error message.
Is there any way to have CodeLite under Windows behave similarly as under Linux?
Many thanks for a hint.
(This is quite import to my C++ students since the matrix/vector software EIGEN uses assert to track invalid indices in vectors/matrices.)
Helmut.
I'm using 'assert' from the standard C++ headers.
When debugging a failing assert
- (under Linux) acts as a breakpoint and one can use gdb commands like 'where'
- (under Windows/MinGW)
- on a command line: I do see the assert message but then I get
"The application has requested the Runtime to terminate it in unusual way.
And using gdb's 'where' command just tells me "No Stack"
- when run within CodeLite an output window is opened and closed immediately,
so I cannot even see the assert error message.
Is there any way to have CodeLite under Windows behave similarly as under Linux?
Many thanks for a hint.
(This is quite import to my C++ students since the matrix/vector software EIGEN uses assert to track invalid indices in vectors/matrices.)
Helmut.