It seems when you use copy/paste in
Setting->Editor->Abbreviation
CB close unexpectedly! A message on the screen appears as follows:
codeblock.exe has stopped working!
CB-Fortran: 0.8RC1
OS: Win7 64B
/Mohammad
It looks like even normal C::B crashes in those steps. (I'm using the latest debugger branch release, WindowsXP)
and I can confirm this bug.I can't. Works fine for me.
CB crashes only when pasting by CTRL-V.Not here. Do you have a clipboard - manager tool or something that modifies / monitors / injects into the clipboard?
If it is disabled, nothing happens, if it is enabled it crashes as soon as I press the Ctrl-key in the abbreviations control.I have no idea how the abbreviations settings dialog is connected to the CC plugin :o - however, if you can reproduce, can you debug into and provide a demangled crash report? I wonder why I cannot reproduce it... is it a platform specific (Linux) thing?
Nope. My codeblocks.RPT file in attachment.This is crash report mangled. If you compile C::B yourself, can you run the version in the debug folder, make it crash and send the report produced there, please?
It was indeed debugger branch, that crashed and it's fixed now.OK - I've had renamed that method in trunk and within the branch after merge the one tiny change in the old-named method got lost. The "CTRL" made me remember the only difference in CC between trunk and the debugger branch. It was working for me, because I still had this tiny bit applied in my local copy... ::)
Index: branches/wxpropgrid_debugger/src/plugins/codecompletion/codecompletion.cpp
===================================================================
--- branches/wxpropgrid_debugger/src/plugins/codecompletion/codecompletion.cpp (revision 7868)
+++ branches/wxpropgrid_debugger/src/plugins/codecompletion/codecompletion.cpp (revision 7869)
@@ -2437,6 +2437,12 @@
void CodeCompletion::OnEditorTooltip(CodeBlocksEvent& event)
{
+ if (wxGetKeyState(WXK_CONTROL))
+ {
+ event.Skip();
+ return;
+ }
+
if (!IsAttached() || !m_InitDone)
{
event.Skip();
* debugger_branch: re-implemented what got lost in codecompletion.cpp related to r7453Yes.
[...]
This fix the crash problem in debugger branch?