Recent Posts

Pages: 1 ... 3 4 5 6 7 [8] 9 10
71
Using Code::Blocks / Re: Debugger fails (Win7 64, mingw 8.1)
« Last post by stahta01 on July 05, 2020, 01:18:02 am »
You did check the link command for strip "-s" commands, correct?

Tim S.
72
Using Code::Blocks / Re: Debugger fails (Win7 64, mingw 8.1)
« Last post by nji on July 04, 2020, 09:33:14 pm »
As far as I know the mingw64 release we're using has a broken debugger. You'll have to find something which works. I cannot help much, because I don't use windows...

I also doubt mingw-64 will be the cause.

I downloaded x86_64-posix-seh from MinGW-W64 GCC-8.1.0.
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/

Entered it as toolchain and debugger at CB (BTW sys.path.insert had a wrong path in it...)
And had exactly the same effect.
Also there is no hint on a bug like this for gdb.

Second I installed CodeLite (guess why!)
and used the mingw from above.
Everything and the debugger worked PERFECTLY.

So it seems to be an error of Code::Blocks again.

I wonder why (after more than a year) I'm the first
to run into it.

Concerning option -g:
The command line is
Code: [Select]
g++.exe -Wall -fexceptions -g  -c D:\Guido\develop\Mist\main.cpp -o obj\Debug\main.o("Mist" is the German word for "Junk".)
73
Using Code::Blocks / Re: Debugger fails (Win7 64, mingw 8.1)
« Last post by Pecan on July 04, 2020, 08:37:39 pm »
I recently updated to CB 20.0.3 and have problems debugging:

When I build a simple console application and let it run
everything is OK - Hello world.

But when starting the debugger nothing happens.
A breakpoint is never reached.
If I stop the debugger, it doesn't react.
When closing CB the message appears:
"Project close while debugging".
After confirming, the task manager shows
gdb.exe, gdborig.exe and conhost.exe are still running.
Have to kill them.
What's going wrong here?

This happens to me when:
1. I forget to turn on -g when compiling the project.
2. I have a request for input before any breakpoint.
3. gdb 8.1 with mingw seems to work ok in windows except for crashes when using "step out".
74
Development / Re: Debugger fails (Win7 64, mingw 8.1)
« Last post by oBFusCATed on July 04, 2020, 07:41:20 pm »
Why have you posted the same thing in 3 topics? It doesn't make it easier to solve.
75
Help / Re: Compiler and debugger plugins
« Last post by oBFusCATed on July 04, 2020, 07:38:23 pm »
Yes, you install separate compiler and debuggers.
Then you tell C::B where to find then and what settings to pass to them.
There is a windows installer which provides compiler/debugger, but they aren't mandatory.
76
Using Code::Blocks / Re: Debugger fails (Win7 64, mingw 8.1)
« Last post by oBFusCATed on July 04, 2020, 07:36:58 pm »
As far as I know the mingw64 release we're using has a broken debugger. You'll have to find something which works. I cannot help much, because I don't use windows...
77
Using Code::Blocks / Re: An unhandled exception ...
« Last post by oBFusCATed on July 04, 2020, 07:35:22 pm »
Yes, but this shouldn't cause a crash. Is this crash happening only on win32? Can you reproduce this with win64?
78
Development / Debugger fails (Win7 64, mingw 8.1)
« Last post by nji on July 04, 2020, 07:28:07 pm »
There seems to be a bug in the connection between IDE and gdb.

Reference:
http://forums.codeblocks.org/index.php/topic,24010.0.html
79
Using Code::Blocks / Re: An unhandled exception ...
« Last post by LETARTARE on July 04, 2020, 07:22:55 pm »
Yes, you are right.
I use with Win-32
Quote
Ensure Consistent EOLs = Yes
End of Line : CRLF

Well, the file I used contained only Linux end of line (LF) and with the previous options chosen: CB wants to modify the end of line of the file with the end of line of the option and crashes with Win32 !

80
General (but related to Code::Blocks) / Re: Use of logos in templates
« Last post by Buongiorno on July 04, 2020, 07:20:27 pm »
I don't want to use something with something that is wrong to be there. I tried and maybe try more times to install some plugins and not those with that things. I think I found some plugins which have that.


Edit-1: sorry, if my english is wrong.
To avoid problems:
I am not acusing, I am in doubt.
Pages: 1 ... 3 4 5 6 7 [8] 9 10