Recent Posts

Pages: 1 2 3 4 5 6 [7] 8 9 10
61
Help / Re: clicking on debugger crashes codeblocks
« Last post by oBFusCATed on April 05, 2020, 01:06:26 am »
We don't handle spaces well. I'm not sure whose to blame, codeblocks or the tools we use (gdb, gcc). I have to do an investigation, but I cannot find the time. Especially when I don't use windows often :)
62
Help / Re: clicking on debugger crashes codeblocks
« Last post by Bruise_Vein on April 05, 2020, 01:02:56 am »
Code: [Select]
D:\C++\Code blocks projects\test\
A guess from a debugger newbie, I suggest you use only ASCII and no spaces in your project path!

Tim S.


it worked, I just removed spaces from my directory name and now it works like my older version of codeblocks.
I m just beginner, 2 months into c++ now and I don't know what happened.

Can u plz explain?
63
Help / Re: clicking on debugger crashes codeblocks
« Last post by stahta01 on April 05, 2020, 12:50:06 am »
Code: [Select]
D:\C++\Code blocks projects\test\
A guess from a debugger newbie, I suggest you use only ASCII and no spaces in your project path!

Tim S.
64
Help / Re: clicking on debugger crashes codeblocks
« Last post by Bruise_Vein on April 05, 2020, 12:33:17 am »
yes, I used the same steps to enable the full debug log.



and also a friend of mine suggested me to clear the codeblocks directory in C:\Users\Your user name\AppData\Roaming\CodeBlocks.   
 after doing this codeblocks doesn't crash but clicking on the debugger still does nothing. and here is the new debug log

NEW FULL DEBUG LOG:

Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: D:\C++\Code blocks projects\test\
Adding source dir: D:\C++\Code blocks projects\test\
Adding file: D:\C++\Code blocks projects\test\bin\Debug\test.exe
Changing directory to: "D:/C++/Code blocks projects/test/."
Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\SourceGear\Common\DiffMerge;C:\Users\Lenovo\AppData\Local\Microsoft\WindowsApps

[debug]Command-line: C:\Program Files\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname -quiet  -args "D:/C++/Code blocks projects/test/bin/Debug/test.exe"
[debug]Working dir : D:\C++\Code blocks projects\test

Starting debugger: C:\Program Files\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname -quiet  -args "D:/C++/Code blocks projects/test/bin/Debug/test.exe"
done

[debug]> set prompt >>>>>>cb_gdb:

Setting breakpoints

[debug]D:/C++/Code: No such file or directory.
[debug](gdb) >>>>>>cb_gdb:
[debug]> show version
[debug]GNU gdb (GDB) 8.1
[debug]Copyright (C) 2018 Free Software Foundation, Inc.
[debug]License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
[debug]This is free software: you are free to change and redistribute it.
[debug]There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
[debug]and "show warranty" for details.
[debug]This GDB was configured as "x86_64-w64-mingw32".
[debug]Type "show configuration" for configuration details.
[debug]For bug reporting instructions, please see:
[debug]<http://www.gnu.org/software/gdb/bugs/>.
[debug]Find the GDB manual and other documentation resources online at:
[debug]<http://www.gnu.org/software/gdb/documentation/>.
[debug]For help, type "help".
[debug]Type "apropos word" to search for commands related to "word".
[debug]>>>>>>cb_gdb:
[debug]> set confirm off

Debugger name and version: GNU gdb (GDB) 8.1

[debug]>>>>>>cb_gdb:
[debug]> set width 0
[debug]>>>>>>cb_gdb:
[debug]> set height 0
[debug]>>>>>>cb_gdb:
[debug]> set breakpoint pending on
[debug]>>>>>>cb_gdb:
[debug]> set print asm-demangle on
[debug]>>>>>>cb_gdb:
[debug]> set unwindonsignal on
[debug]>>>>>>cb_gdb:
[debug]> set print elements 200
[debug]>>>>>>cb_gdb:
[debug]> set new-console on
[debug]>>>>>>cb_gdb:
[debug]> set disassembly-flavor att
[debug]>>>>>>cb_gdb:
[debug]> catch throw
[debug]Catchpoint 1 (throw)
[debug]>>>>>>cb_gdb:
[debug]> directory "D:/C++/Code blocks projects/test/"
[debug]Source directories searched: D:/C++/Code blocks projects/test;$cdir;$cwd
[debug]>>>>>>cb_gdb:
[debug]> break "D:/C++/Code blocks projects/test/main.cpp:19"
[debug]No symbol table is loaded.  Use the "file" command.
[debug]Breakpoint 2 ("D:/C++/Code blocks projects/test/main.cpp:19") pending.
[debug]>>>>>>cb_gdb:
[debug]> run
[debug]No executable specified, use `target exec'.
[debug]Starting program:  blocks projects/test/bin/Debug/test.exe
[debug]>>>>>>cb_gdb:

Starting the debuggee failed: No executable specified, use `target exec'.

[debug]> quit

Debugger finished with status 0
65
Help / Re: clicking on debugger crashes codeblocks
« Last post by oBFusCATed on April 05, 2020, 12:28:50 am »
This is not the full log. You have to enable it in the Settings -> Debugger -> Common -> Full (debug) log.
I'm not sure. You can uninstall first to be on the safe side.
Keep in mind that using a 64bit codeblocks to debug 32bit executables doesn't work well at the moment. Or using 32bit gdb to debug 64bit executables.
66
Help / Re: clicking on debugger crashes codeblocks
« Last post by Bruise_Vein on April 05, 2020, 12:05:55 am »
I m using 64 bits version
OS: Windows
to reinstall 17.12 do I uninstall the 20.03 version or do I just install it in a different directory

FULL DEBUG LOG :

Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: D:\C++\Code blocks projects\test\
Adding source dir: D:\C++\Code blocks projects\test\
Adding file: D:\C++\Code blocks projects\test\bin\Debug\test.exe
Changing directory to: "D:/C++/Code blocks projects/test/."
Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\SourceGear\Common\DiffMerge;C:\Users\Lenovo\AppData\Local\Microsoft\WindowsApps

[debug]Command-line: C:\Program Files (x86)\CodeBlocks\MinGW\bin\gdb32.exe -nx -fullname -quiet  -args "D:/C++/Code blocks projects/test/bin/Debug/test.exe"
[debug]Working dir : D:\C++\Code blocks projects\test

Starting debugger: C:\Program Files (x86)\CodeBlocks\MinGW\bin\gdb32.exe -nx -fullname -quiet  -args "D:/C++/Code blocks projects/test/bin/Debug/test.exe"
failed
67
Using Code::Blocks / Re: Debugger Warning
« Last post by fmc0501 on April 04, 2020, 11:23:20 pm »
Thanks again.
68
It was not in my plans. Someone would have to contribute these. Especially the changes to the windows' templates.
69
Using Code::Blocks / Re: Debugger Warning
« Last post by oBFusCATed on April 04, 2020, 11:18:13 pm »
Nothing ignore it. It is something related to tty-s. It is harmless for 99% of the use cases.
70
Would it be possible to remove all the 2.8/2.6 wxWidgets template files at this time.

Under these paths

src/templates/common
src/templates/unix
src/templates/win32

Tim S.


Pages: 1 2 3 4 5 6 [7] 8 9 10