User forums > Nightly builds

The 12 september 2010 build (6583) CODECOMPLETION BRANCH version is out.

<< < (4/10) > >>

Loaden:
By the way, could you launch CB with "codeblocks.exe --debug-log", and put the debug log in here?
Thanks!

blueshake:
1.add the arguments "--debug-log" to the shortcut for codeblock.
2.press ctrl and shift ,right click the symbol tree, click debug smartsense.
3.type std::
4.post the output log here,please.

ironhead:
Here's what I see in the debug log:


--- Code: ---Create new parser for project '*NONE*'
Starting batch parsing for project '*NONE*'...
Project '*NONE*' parsing stage done!
Project '*NONE*' parsing stage done (1 total parsed files, 3 tokens in 0 minute(s), 0.000 seconds).
Updating class browser...
Class browser updated.
MarkItemsByAI()
ParseUsingNamespace() Parse file scope for "using namespace"
ParseFunctionArguments() Parse function arguments
FindCurrentFunctionStart() Looking for tokens in 'C:\Users\Chris\Documents\test.cpp'
FindCurrentFunctionStart() Found 3 results
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='class A {...}', tF='C:\Users\Chris\Documents\test.cpp', tStart=4, tEnd=7
FindCurrentFunctionStart() Function out of bounds: tN='class A {...}', tF='C:\Users\Chris\Documents\test.cpp', tStart=4, tEnd=7, line=11 (size_t)line=11
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0
FindCurrentFunctionStart() Function out of bounds: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0, line=11 (size_t)line=11
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='int main()', tF='C:\Users\Chris\Documents\test.cpp', tStart=10, tEnd=13
FindCurrentFunctionStart() Current function: 'int main()' (at line 9)
FindCurrentFunctionStart() Namespace='', proc='main' (returning 80)
GenerateResultSet() search 'main', parent='Global namespace (id:0, type:(null)), isPrefix=0'
ParseFunctionArguments() + Function match: main
ParseLocalBlock() Parse local block
FindCurrentFunctionStart() Looking for tokens in 'C:\Users\Chris\Documents\test.cpp'
FindCurrentFunctionStart() Found 3 results
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='class A {...}', tF='C:\Users\Chris\Documents\test.cpp', tStart=4, tEnd=7
FindCurrentFunctionStart() Function out of bounds: tN='class A {...}', tF='C:\Users\Chris\Documents\test.cpp', tStart=4, tEnd=7, line=11 (size_t)line=11
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0
FindCurrentFunctionStart() Function out of bounds: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0, line=11 (size_t)line=11
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='int main()', tF='C:\Users\Chris\Documents\test.cpp', tStart=10, tEnd=13
FindCurrentFunctionStart() Current function: 'int main()' (at line 9)
FindCurrentFunctionStart() Namespace='', proc='main' (returning 80)
ParseLocalBlock() Block:

    std::
ParseLocalBlock() Local tokens:
AI() =========================================================
AI() Doing AI for '    std::':
FindCurrentFunctionStart() Looking for tokens in 'C:\Users\Chris\Documents\test.cpp'
FindCurrentFunctionStart() Found 3 results
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='class A {...}', tF='C:\Users\Chris\Documents\test.cpp', tStart=4, tEnd=7
FindCurrentFunctionStart() Function out of bounds: tN='class A {...}', tF='C:\Users\Chris\Documents\test.cpp', tStart=4, tEnd=7, line=11 (size_t)line=11
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0
FindCurrentFunctionStart() Function out of bounds: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0, line=11 (size_t)line=11
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='int main()', tF='C:\Users\Chris\Documents\test.cpp', tStart=10, tEnd=13
FindCurrentFunctionStart() Current function: 'int main()' (at line 9)
FindCurrentFunctionStart() Namespace='', proc='main' (returning 80)
GenerateResultSet() search 'main', parent='Global namespace (id:0, type:(null)), isPrefix=0'
AI() Adding search namespace: Global namespace
BreakUpComponents() Breaking up '    std::'
BreakUpComponents() Found component: 'std' (Namespace)
BreakUpComponents() Adding component: 'std'.
BreakUpComponents() Found component: '' (SearchText)
BreakUpComponents() Adding component: ''.
ResolveExpression() search scope is 1 result.
search scope: -1
ResolveExpression() Looping 0 result.
AI() AI leave, returned 0 results
0 results
Reparsing when typing for editor C:\Users\Chris\Documents\test.cpp
Reparsing modified files for project '*NONE*'
Project '*NONE*' parsing stage done (1 total parsed files, 3 tokens in 0 minute(s), 0.000 seconds).
Updating class browser...
Class browser updated.
MarkItemsByAI()
ParseUsingNamespace() Parse file scope for "using namespace"
ParseFunctionArguments() Parse function arguments
FindCurrentFunctionStart() Looking for tokens in 'C:\Users\Chris\Documents\test.cpp'
FindCurrentFunctionStart() Found 3 results
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0
FindCurrentFunctionStart() Function out of bounds: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0, line=11 (size_t)line=11
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='int main()', tF='C:\Users\Chris\Documents\test.cpp', tStart=10, tEnd=13
FindCurrentFunctionStart() Current function: 'int main()' (at line 9)
FindCurrentFunctionStart() Namespace='', proc='main' (returning 80)
GenerateResultSet() search 'main', parent='Global namespace (id:0, type:(null)), isPrefix=0'
ParseFunctionArguments() + Function match: main
ParseLocalBlock() Parse local block
FindCurrentFunctionStart() Looking for tokens in 'C:\Users\Chris\Documents\test.cpp'
FindCurrentFunctionStart() Found 3 results
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0
FindCurrentFunctionStart() Function out of bounds: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0, line=11 (size_t)line=11
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='int main()', tF='C:\Users\Chris\Documents\test.cpp', tStart=10, tEnd=13
FindCurrentFunctionStart() Current function: 'int main()' (at line 9)
FindCurrentFunctionStart() Namespace='', proc='main' (returning 80)
ParseLocalBlock() Block:

    std::
ParseLocalBlock() Local tokens:
AI() =========================================================
AI() Doing AI for '    std::':
FindCurrentFunctionStart() Looking for tokens in 'C:\Users\Chris\Documents\test.cpp'
FindCurrentFunctionStart() Found 3 results
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0
FindCurrentFunctionStart() Function out of bounds: tN='void A::Test()', tF='C:\Users\Chris\Documents\test.cpp', tStart=0, tEnd=0, line=11 (size_t)line=11
FindCurrentFunctionStart() (Next) Iteration...
FindCurrentFunctionStart() Iterating: tN='int main()', tF='C:\Users\Chris\Documents\test.cpp', tStart=10, tEnd=13
FindCurrentFunctionStart() Current function: 'int main()' (at line 9)
FindCurrentFunctionStart() Namespace='', proc='main' (returning 80)
GenerateResultSet() search 'main', parent='Global namespace (id:0, type:(null)), isPrefix=0'
AI() Adding search namespace: Global namespace
BreakUpComponents() Breaking up '    std::'
BreakUpComponents() Found component: 'std' (Namespace)
BreakUpComponents() Adding component: 'std'.
BreakUpComponents() Found component: '' (SearchText)
BreakUpComponents() Adding component: ''.
ResolveExpression() search scope is 1 result.
search scope: -1
ResolveExpression() Looping 0 result.
AI() AI leave, returned 0 results
0 results

--- End code ---

The output of the cpp command gives me:


--- Code: ---$ cpp -v -E -x c++ nul
Using built-in specs.
COLLECT_GCC=c:\MinGw64\bin\cpp.exe
COLLECT_LTO_WRAPPER=c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.5.2/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: /home/drangon/work/mingw-w64-dgn/source/gcc/configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --disable-nls --enable-languages=c,c++,objc,obj-c++ --with-gmp=/home/drangon/work/mingw-w64-dgn/build/for_target --enable-twoprocess --disable-libstdcxx-pch --disable-win32-registry --prefix=/home/drangon/work/mingw-w64-dgn/target --with-sysroot=/home/drangon/work/mingw-w64-dgn/target
Thread model: win32
gcc version 4.5.2 20100903 (prerelease) (GCC)
COLLECT_GCC_OPTIONS='-v' '-E' '-mtune=generic' '-march=x86-64'
 c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.5.2/cc1plus.exe -E -quiet -v -iprefix c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.2/ nul -mtune=generic -march=x86-64
# 1 "nul"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "nul"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../include/c++/4.5.2"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../include/c++/4.5.2/x86_64-w64-mingw32"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../include/c++/4.5.2/backward"
ignoring nonexistent directory "/home/drangon/work/mingw-w64-dgn/target/home/drangon/work/mingw-w64-dgn/target/lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../include"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.2/include"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.2/include-fixed"
ignoring duplicate directory "c:/mingw64/lib/gcc/../../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/include"
ignoring nonexistent directory "/home/drangon/work/mingw-w64-dgn/target/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
 c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../include/c++/4.5.2
 c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../include/c++/4.5.2/x86_64-w64-mingw32
 c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../include/c++/4.5.2/backward
 c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.2/include
 c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.2/include-fixed
 c:\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/include
End of search list.
COMPILER_PATH=c:/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/4.5.2/;c:/mingw64/bin/../libexec/gcc/;c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/bin/
LIBRARY_PATH=c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/;c:/mingw64/bin/../lib/gcc/;c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../lib64/;c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../../x86_64-w64-mingw32/lib/;c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.5.2/../../../
COLLECT_GCC_OPTIONS='-v' '-E' '-mtune=generic' '-march=x86-64'

--- End code ---

Orgulas:
The call tip is still a bit weird:

Notice the cursor before the 1.
I'd expect it to highlight the parameter at the cursor, not the last one.

daniloz:
I have the same issue with the most actual (normal) branch (should be equivalent to the normal nigthly build)...  But had it since a long time now...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version