Re: [CEDET-devel] semanticdb-deep-find-tags-for-completion throws an error
Brought to you by:
zappo
From: Oleh <ohw...@gm...> - 2013-11-15 18:32:49
|
On Fri, Nov 15, 2013 at 5:46 PM, David Engster <de...@ra...> wrote: > Oleh writes: >> I can't define a trivial recipe. I tried to create some minimal files but >> the problem doesn't occur for them. >> The problem occurs when using deal.ii numerics library. >> I don't know if you want to spend time to install it though. > > Unfortunately there no longer seems to be a Debian package for it. > > However, I don't think I would need to compile it, since I only need the > includes. So just assume that I have deal.ii installed (but please say > which version you're using), and tell me a recipe how to reproduce the > error. I'm using 8.0.0. When in include "exceptions.h", I want to get for "Exc" a list of completions like '("ExcCompatibility" "ExcDimensionMismatch" "ExcDimensionMismatch2" "ExcDisabled" "ExcDivideByZero" "ExcEmptyObject" "ExcFileNotOpen" "ExcGhostsPresent" "ExcIO" "ExcImpossibleInDim" "ExcIndexRange" "ExcInternalError" "ExcInvalidConstructorCall" "ExcInvalidIterator" "ExcInvalidState" "ExcIteratorPastEnd" "ExcLowerRange" "ExcMemoryLeak" "ExcMessage" "ExcNeedsLAPACK" "ExcNeedsMETIS" "ExcNeedsNetCDF" "ExcNeedsPETSC" "ExcNeedsUMFPACK" "ExcNotImplemented" "ExcNotInitialized" "ExcNotMultiple" "ExcNumberNotFinite" "ExcOutOfMemory" "ExcPureFunctionCalled" "ExcScalarAssignmentOnlyForZeroValue" "ExcZero" "ExceptionBase" "exc_name" "ExcDivideByZero" "ExcNumberNotFinite" "ExcOutOfMemory" "ExcMemoryLeak" "ExcIO" "ExcFileNotOpen" "ExcNotImplemented" "ExcInternalError" "ExcPureFunctionCalled" "ExcInvalidConstructorCall" "ExcNotInitialized" "ExcInvalidState" "ExcImpossibleInDim" "ExcZero" "ExcEmptyObject" "ExcDimensionMismatch" "ExcDimensionMismatch2" "ExcIndexRange" "ExcLowerRange" "ExcNotMultiple" "ExcInvalidIterator" "ExcIteratorPastEnd" "ExcMessage" "ExcCompatibility" "ExcScalarAssignmentOnlyForZeroValue" "ExcNeedsLAPACK" "ExcNeedsUMFPACK" "ExcNeedsMETIS" "ExcNeedsPETSC" "ExcNeedsNetCDF" "ExcGhostsPresent" "ExcDisabled" "exchange_data" "exc" "Exceptions" "exceptions" "ExceptionBase" "exclusive" "exception_ptr" "exception_ptr_static_exception_object" "exception_ptr_static_exception_object::e" "exception_detail" "exception" "exception_wrapper"). I'm getting an error instead. The default `semantic-analyze-possible-completions' produces only one result out of the whole list, while all of them are acceptable from C++ point of view. >> I've just just reverted to revno 8566 where >> `semanticdb-deep-find-tags-for-completion' >> works well. > > Here's the next thing: `semanticdb-deep-find-tags-for-completion' is not > an interactive user function. I don't know why and how you use > it. Please show me the code. > >> in between breaks it. >> I can try to bisect it, but it's a lengthy process since I have to completely >> clear and rebuild ~/.emacs.d/semanticdb/, because even revno 8566 throws when >> used with semanticdb/ built by the later version. >> >> I tried to edebug things, but edebug doesn't understand (defmethod stuff. > > Yes, it does. Doesn't work for `semantic-collector-calculate-completions': eieio--defmethod: Unknown class type semantic-collector-abstract in method parameters > >> Should I start with the bisections or maybe you can localize the error faster? > > Please do > > M-x toggle-debug-on-error > > then trigger the error and post the resulting backtrace. > > -David I attach the debug output. It's quite big. Also I've made some bisections: 8601 works, but 8607 doesn't. I'll keep going with that. Oleh |