Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Is CC crash, or Debugger plugin?
Loaden:
--- Quote from: ollydbg on June 09, 2011, 08:50:17 am ---I suggest you turn off that option "Compiler and debugger settings > Debugger settings > Evaluate expression under cursor", because when the mouse hover a variable which is not initialized.(e.g. an un-initialized std::vector), then gdb will crash. :D
--- End quote ---
At the same time, CC doing buffer parsing for local variable.
And should add the token to the temp tokens-tree.
So, If you turn off the option, the crash should been gone.
oBFusCATed:
Loaden: The debugger plugin runs in the main thread and has no access to the CC data structures.
The backtrace points to AddToken in the CC plugin, so it is definitely CC crash.
And this crash happens during code editing, too.
I'll give you the backtrace the next time it happens. At the moment I'm on linux debugger's branch head.
Loaden:
--- Quote from: oBFusCATed on June 09, 2011, 10:20:20 am ---Loaden: The debugger plugin runs in the main thread and has no access to the CC data structures.
The backtrace points to AddToken in the CC plugin, so it is definitely CC crash.
And this crash happens during code editing, too.
I'll give you the backtrace the next time it happens. At the moment I'm on linux debugger's branch head.
--- End quote ---
In sometimes, I don't believe GDB's backtrace.
So, I am tried MSVC's Debugger, but CB can't compile with MSVC, or can't work.
In many times, the GDB's backtrace is not useful.
oBFusCATed:
1. The backtrace is from the build in crash handler in C::B, not GDB.
2. GDB on linux is totally different beast to GDB on windows
3. The backtrace looks pretty normal, no strange things in it.
Loaden:
--- Quote from: oBFusCATed on June 09, 2011, 11:19:20 am ---1. The backtrace is from the build in crash handler in C::B, not GDB.
2. GDB on linux is totally different beast to GDB on windows
3. The backtrace looks pretty normal, no strange things in it.
--- End quote ---
OK, Please try the latest reversion, at least rev7188.
If you catch any thing, please post here.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version