gdb -i=miand then attach to the process for debugging, emacs hangs for like 5 minutes before I can type anything. After trial and error I found it is caused by the following line in my
(setq gdb-many-windows t)
Start software to debug->Get Process ID->Start Emacs->Start gdb inside Emacs (with many-window)->Attach to Process->Set break point->Continue->Do things in software GUI to trigger breakpoint->Emacs show break point hit and hangs for 5 minutes
The configuration was never changed, and I only start experiencing this problem recently. So is gdb-many-windows really affecting the performance so bad or if there is some thing else possibly, like the version of emacs or debugger?
GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4). GNU gdb (GDB) 7.10.