Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » GDB_MI2 debugger fixes
Re: GDB_MI2 debugger fixes [message #41963 is a reply to message #41961] Sun, 09 February 2014 01:37 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
Hi,

ReadGdb blocks, in blocking path, for exactly 3 seconds, so

3*50*20 ms

Which is right, imho, for the 'almosto blocking' path.

This has nothing to do with panes delay.
It's just a way to wait for gdb to answer to a command... normally it responds in less than 20 ms, 3 seconds is a maximum as when gdb returns python exceptions usually it needs almost 1 second to recover.

Again, this has nothing to do with delay in panes switching, which is totally unrelated with gdb communication.

I think you've got some problem with your gdb... but I can't replicate it.

Just to explain you the path:

1) When I send a command to gdb, I wait for response, which is completed when I receive a '(gdb)' string at end.
To be sure to get the response, I put a limit of 3 seconds on it, but as I said, normally it answers in 20 ms or less.

2) Switching panes is totally unrelated, as panes works on cached data, so do not need to issue additional gdb commands.

3) Panes updating happens 500 ms AFTER last gdb command.
So, if you step quickly, panes do not update before you stop stepping.

If you like, you can send me your compiled ide, so I can test it.
Send to this address : maxx5@veneto.com

ciao

Massimo

[Updated on: Sun, 09 February 2014 01:37]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FEATURE] Improving CSS Highlight
Next Topic: svn can block TheIde
Goto Forum:
  


Current Time: Thu Apr 18 12:40:14 CEST 2024

Total time taken to generate the page: 0.02545 seconds