Can no longer set breakpoints in Eclipse IDE / CDT Neon.3 with MinGW-64 (Posix) on Windows 10 [message #1764111] |
Wed, 24 May 2017 23:41  |
Eclipse User |
|
|
|
Dear Eclipse C++ Experts,
I can no longer set breakpoint in Eclipse Version: Neon.3 Release (4.6.3),
Build id: 20170314-1500, MinGW_64 (Posix) on Windows 10 (64bits) in the last
2 days on any C++ programs including a simple Hello World below:
#include <iostream>
using namespace std;
int main() {
cout << "!!!Hello World!!!" << endl; // tried to set breakpoint on this line
return 0;
}
This program & others runs fine in Eclipse.
The debug error are as follows:
GNU gdb (GDB) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
[New Thread 3728.0x1f40]
[New Thread 3728.0x1354]
[New Thread 3728.0xdb4]
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x75af355b
Not sure whether it is related to the following informative message after successful project built:
"Info: Configuration "Debug" uses tool-chain "MinGW GCC" that is unsupported on this system, attempting to build anyway."
Re-installing MinGW_64 (Posix) failed to make a difference. I
wouldn't mind re-installing Eclipse but not sure whether it will make any
difference & how to do it.
The following Windows environment variables have been set:
MinGW_HOME=C:\MingW\mingw32;
PATH=C:\MingW\mingw32\bin;
These variables are set in Eclipse Preferences,C/C++,Build,Environment variable
I need to use the debugger to troubleshoot more complex programs.
I couldn't find recent post on this issue & would appreciate any advice after
having spent days on trying to fix it without success.
This feature was working after initial installation earlier last week.
Thanks in advance,
George
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03471 seconds