Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: LordCB on November 25, 2009, 11:41:35 pm

Title: Waiting too long for disassembling
Post by: LordCB on November 25, 2009, 11:41:35 pm
Hello friends I use nightly5911;mingw345 and gdb 7.0.2. When I try to debug it is possible that I have to wait about 5 to 8 minutes for disassembling before my breakpoint is active.

Have anybody also this strange behavior???
Title: Re: Waiting too long for disassembling
Post by: stahta01 on November 26, 2009, 01:13:44 am
Have you read this thread? I saw no match; but, I do not use debug very much.
http://forums.codeblocks.org/index.php/topic,11301.45.html

Tim S.
Title: Re: Waiting too long for disassembling
Post by: oBFusCATed on November 26, 2009, 09:38:47 am
Please enable the debugger's debug log :)
There you can see what commands are executed.
Find the disassembly command and execute it manually, to see if it is fast, if not it is a gdb problem.
Also you could try a newer gcc (not sure if it is related).
Title: Re: Waiting too long for disassembling
Post by: Jenna on November 26, 2009, 09:44:58 am
Also you could try a newer gcc (not sure if it is related).
As far as I know, 7.02 is the newest available gdb on windows.
 :oops: sorry misread your post, but gcc3.4.5 might have problems with gdb 7.0.2, you coud try TDragons's gcc 4.4 to see if the error disappears : http://tdragon.net/recentgcc/ (http://tdragon.net/recentgcc/), or use an older gdb (6.8.50).
Title: Re: Waiting too long for disassembling
Post by: LordCB on November 26, 2009, 09:57:04 am
I use also QT453 and as far as I know mingw345 is at the moment standard.
Title: Re: Waiting too long for disassembling
Post by: LordCB on November 26, 2009, 11:40:15 am
Ok now I install this one :tdm-mingw-1.908.0-4.4.1-2.exe with gdb 7.0.2 I have the same problem
I am waiting toooo long for disassembling codeblocks takes 114 mb by 50 percent cpu and gdb takes ca. 400 mb by 0 % cpu?????
and know is it a CB(5911) or gdb problem
Title: Re: Waiting too long for disassembling
Post by: oBFusCATed on November 26, 2009, 12:11:46 pm
What about the debuggers log : settings -> compiler & debugger -> debugger -> enable debuggers log (debug)  (I don't remember the wording of the option name, though) ?

If you could provide a minimal project that can help
Title: Re: Waiting too long for disassembling
Post by: LordCB on December 03, 2009, 11:10:32 pm
Hmm the projct is too big. I set the breakpoint in a function which is very massive.
Title: Re: Waiting too long for disassembling
Post by: LordCB on December 05, 2009, 09:44:27 pm
is there a possibility to deactivate diassembling? Do I really need the disassembling during debugging??
Title: Re: Waiting too long for disassembling
Post by: oBFusCATed on December 06, 2009, 04:36:40 pm
Close the disassemble window and the command for disassembling won't be called.
Title: Re: Waiting too long for disassembling
Post by: LordCB on December 07, 2009, 02:23:51 am
thanx :lol: