Problem in making program stop on first line [message #1817010] |
Wed, 13 November 2019 14:07  |
Eclipse User |
|
|
|
With Eclipse IDE version 2019-09 (4.13.0) I would like to stop my C++ program at the first line. I have tried putting a tick in the box for "Stop on startup at main" (under Run/debug configuration), also a break point on the first line, and I have also put a breakpoint immediately after the first line, but the program simply exits leaving the message:
"<terminated>LANG2 Debug [C/C++ Application]
<terminated, exit value: 0>gdb (8.1.1) "
I have also tried removing the tick for "Stop on startup at main" but the same thing happens.
The program begins like this:
B int main(int argc, char *argv[])
{
B if (argc < 3)
I've put 'B' on lines that have break points.
Is this a bug or is there something wrong with my program? Any suggestions will be very welcome.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27737 seconds