News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

debugger en mingw64 geeft foutmelding

Started by Henkes, May 18, 2020, 08:13:35 PM

Previous topic - Next topic

Henkes

Debuggen gaat fout, zie de log hieronder:

Active debugger config: GDB/CDB debugger:gdb64
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Users\grooth\Documents\development\hello world\
Adding source dir: C:\Users\grooth\Documents\development\hello world\
Adding file: C:\Users\grooth\Documents\development\hello world\bin\Debug\hello world.exe
Changing directory to: C:/Users/grooth/DOCUME~1/DEVELO~1/HELLOW~1/.
Set variable: PATH=.;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\B1 Free Archiver;C:\Program Files (x86)\Common Files\Autodesk Shared\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;c:\mingw\bin;C:\Users\grooth\AppData\Local\Microsoft\WindowsApps;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\B1 Free Archiver;C:\Program Files (x86)\Common Files\Autodesk Shared\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;c:\mingw\bin;;C:\PROGRA~2\COMMON~1\AUTODE~1
Starting debugger: C:\mingw64\mingw32\bin\gdb.exe -nx -fullname -quiet  -args "C:/Users/grooth/Documents/development/hello world/bin/Debug/hello world.exe"
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 8.1
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

"C:/Users/grooth/Documents/development/hello world/bin/Debug/hello world.exe"

Some MinGW GCC has issues with spaces in the path; I do not use the debugger enough to say that this could be your issue.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Henkes

As you asked in english i don't no what is wrong:

Starting debugger: C:\mingw64\mingw32\bin\gdb.exe -nx -fullname -quiet  -args "C:/Users/grooth/Documents/development/hello_world/bin/Debug/hello world.exe"
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 8.1
Starting the debuggee failed: No executable specified, use `target exec'.
Debugger finished with status 0

Henkes

Mingw compiler has the wrong version in code:: blocks
C++ GNU 8.1.0 installed
problem solved

nji

Can you please explain what you mean by "wrong version".

I had a similiar problem with the debugger.
It starts into the big nothing ... and has to be killed.

I installed mingw64 8.1 apart/ anew and let CB use it.
Same effect.

??