Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Is CC crash, or Debugger plugin?
Loaden:
--- Quote from: oBFusCATed on July 26, 2011, 04:21:07 pm ---The "calltip crash" (the one in the std::set), just happened, so it is not related to the realtime parser.
This time it happened during debugging :( (99% of the time it was during debugging, but I guess this is just caused by the usage pattern).
Maybe it is time to start running it under valgrind.
--- End quote ---
I don't know how to use valgrind.
Maybe it is time to disable the option: "Compiler and debugger settings > Debugger settings > Evaluate expression under cursor" ?
:lol:
oBFusCATed:
Or you should fix the bug 8)
Do you have anymore CC fixes in the pipeline or it is safe to do a merge?
p.s. you should try it (valgrind) it is pretty powerful and not that hard (on smaller projects, C::B is a bit biggish)
Loaden:
--- Quote from: oBFusCATed on July 26, 2011, 04:21:07 pm ---Maybe it is time to start running it under valgrind.
--- End quote ---
I can't run Valgrind plugin in CB, here is the error log:
--- Quote ---valgrind --version
valgrind-3.6.1
valgrind --leak-check=yes --xml=yes --xml-file=ValgrindOut.xml "devel/codeblocks" --debug-log --multiple-instance -ns -ni
devel/codeblocks: error while loading shared libraries: libcodeblocks.so: cannot open shared object file: No such file or directory
--- End quote ---
Then I run valgrind in bash:
--- Code: ---#!/bin/sh
APP_DIR=`dirname "$0"`
APP_DIR=`( cd "$APP_DIR" && pwd )`
export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH
valgrind --leak-check=yes --xml=yes --xml-file=ValgrindOut.xml $APP_DIR/parsertest $@
--- End code ---
And I can't find any issue.
[attachment deleted by admin]
oBFusCATed:
It is better to run in from the command line.
Something like valgrind --leak-check=full ./app
Also try running it on the parsetest project.
Also look at the threaded engines of valgrind:
http://valgrind.org/docs/manual/hg-manual.html
http://valgrind.org/docs/manual/drd-manual.html
Loaden:
Valgrind can not give me any useful advise.
You can try REV7309, and disable the new option "Enable headers code-completion".
Maybe the issue is related with it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version