Author Topic: debugger en mingw64 geeft foutmelding  (Read 211 times)

Offline Henkes

  • Single posting newcomer
  • *
  • Posts: 3
debugger en mingw64 geeft foutmelding
« on: May 18, 2020, 08:13:35 pm »
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

Online oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12625
    • Travis build status
Re: debugger en mingw64 geeft foutmelding
« Reply #1 on: May 18, 2020, 08:52:48 pm »
Debuggen gaat fout, zie de log hieronder:
Use English, please!
(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!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6911
    • My Best Post
Re: debugger en mingw64 geeft foutmelding
« Reply #2 on: May 19, 2020, 12:04:41 am »
Code: [Select]
"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++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Henkes

  • Single posting newcomer
  • *
  • Posts: 3
Re: debugger en mingw64 geeft foutmelding
« Reply #3 on: May 19, 2020, 12:38:42 am »
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

Offline Henkes

  • Single posting newcomer
  • *
  • Posts: 3
Re: debugger en mingw64 geeft foutmelding
« Reply #4 on: May 19, 2020, 04:59:35 pm »
Mingw compiler has the wrong version in code:: blocks
C++ GNU 8.1.0 installed
problem solved