Author Topic: Waiting too long for disassembling  (Read 5610 times)

Offline LordCB

  • Multiple posting newcomer
  • *
  • Posts: 79
Waiting too long for disassembling
« 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???

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Waiting too long for disassembling
« Reply #1 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.
« Last Edit: November 26, 2009, 02:37:19 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Waiting too long for disassembling
« Reply #2 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).
(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 Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Waiting too long for disassembling
« Reply #3 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/, or use an older gdb (6.8.50).
« Last Edit: November 26, 2009, 10:05:30 am by jens »

Offline LordCB

  • Multiple posting newcomer
  • *
  • Posts: 79
Re: Waiting too long for disassembling
« Reply #4 on: November 26, 2009, 09:57:04 am »
I use also QT453 and as far as I know mingw345 is at the moment standard.

Offline LordCB

  • Multiple posting newcomer
  • *
  • Posts: 79
Re: Waiting too long for disassembling
« Reply #5 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Waiting too long for disassembling
« Reply #6 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
(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 LordCB

  • Multiple posting newcomer
  • *
  • Posts: 79
Re: Waiting too long for disassembling
« Reply #7 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.

Offline LordCB

  • Multiple posting newcomer
  • *
  • Posts: 79
Re: Waiting too long for disassembling
« Reply #8 on: December 05, 2009, 09:44:27 pm »
is there a possibility to deactivate diassembling? Do I really need the disassembling during debugging??

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Waiting too long for disassembling
« Reply #9 on: December 06, 2009, 04:36:40 pm »
Close the disassemble window and the command for disassembling won't be called.
(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 LordCB

  • Multiple posting newcomer
  • *
  • Posts: 79
Re: Waiting too long for disassembling
« Reply #10 on: December 07, 2009, 02:23:51 am »
thanx :lol: