Unable to debug with Neon and TDM-GCC [message #1774965] |
Mon, 23 October 2017 01:04 |
Bruce Kelly Messages: 5 Registered: October 2014 |
Junior Member |
|
|
Windows 7 64-bit
Eclipse Neon.2 (4.6.2) 64-bit
TDM-GCC 5.1.0-2 64-bit
When I try to debug a C program I get the following error:
Could not determine GDB version using command: C:\TDM-GCC-64\bin\gdb.exe --version
gdbwrapper: AssignProcessToJobObject failed
If I run the same command from the command line I get:
C:\Windows\System32>C:\TDM-GCC-64\bin\gdb.exe --version
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http...
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 "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http...
Find the GDB manual and other documentation resources online at:
http...
For help, type "help".
Type "apropos word" to search for commands related to "word".
I can debug from the command line, but it would be easier if I could do it in Eclipse.
Any assistance would be appreciated.
There is an entry in the Eclipse log:
java.lang.Exception: gdbwrapper: AssignProcessToJobObject failed
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunch.getGDBVersion(GdbLaunch.java:559)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugSession(GdbLaunchDelegate.java:142)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launchDebugger(GdbLaunchDelegate.java:101)
at org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate.launch(GdbLaunchDelegate.java:90)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[Updated on: Mon, 23 October 2017 09:57] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01888 seconds