Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [BUG] TheIDE hangs when Assist/THISBACKs menu is called in certain files
[BUG] TheIDE hangs when Assist/THISBACKs menu is called in certain files [message #49965] |
Thu, 07 June 2018 21:12 |
Oblivion
Messages: 1092 Registered: August 2007
|
Senior Contributor |
|
|
Hello,
I've tested this on Linux 4.16.13, x86_64, with Theide (latest build), Flags: GUI (Gnome 3.28), MT, SSE2, both DEBUG and RELEASE modes.
Unfortunately I didn't have access to Windows-based machine at the time, so I cannot confirm it on that platform for a while.
TheIDE's callbacks menu doesn't work on certain files. It hangs with constant disk I/O.
Reproducible: always.
Steps to reproduce:
1) Load ide package on TheIDE
2) Open Debug.cpp file.
3) Attempt to open Assist -> THISBACKs menu
Result: TheIDE hangs.
I tracked down the source of problem to Thisbacks.cpp, ln: 120-126 (at first glance it looks like there is a problem with recursion, but I am not sure)
Code seems to be stuck at here (ThisbacksDlg::GatherCallbacks):
for(int i = 0; i < n.GetCount(); i++) {
const CppItem& m = n[i];
if(m.IsData() && !IsCb(m.qtype)
&& m.natural.Find('&') < 0 && m.natural.Find('*') < 0
&& m.access <= access
&& !m.name.StartsWith("dv___"))
GatherCallbacks(pfx + "." + m.name, done, m.qtype, min(access, (int)PUBLIC));
}
Edit: Ok, now I can confirm this on Windows too. It is also reproducible under Windows 7/10.
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Fri, 08 June 2018 01:19] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Apr 26 16:10:03 CEST 2024
Total time taken to generate the page: 0.02609 seconds
|