Re: [cedet-semantic] semantic-c-describe-environment not working
Brought to you by:
zappo
From: Laurynas B. <lau...@gm...> - 2012-11-10 10:19:18
|
Ping? 2012/10/4 Laurynas Biveinis <lau...@gm...>: > Hi - > >>> Whenever I open a source file in this project and try to invoke >>> semantic-c-describe-environment, it fails with >>> >>> eieio-generic-call-primary-only: Method object-print called on nil >> >> >> Could you provide a stack by setting: >> >> M-x toggle-debug-on-error RET >> >> which will get you a backtrace. There are several calls to object-print, >> and I'm curious which one it is. > > With this one I got > > Debugger entered--Lisp error: (error "Method object-print called on nil") > signal(error ("Method object-print called on nil")) > error("Method %s called on nil" object-print) > eieio-generic-call-primary-only(object-print (nil)) > object-print(nil) > semantic-c-describe-environment() > call-interactively(semantic-c-describe-environment t nil) > execute-extended-command(nil) > call-interactively(execute-extended-command nil nil) > > Which I don't think narrows it down it much. I tried edebug and it > showed the error on > > (princ "\n\nMacro Summary:\n") > (when semantic-lex-c-preprocessor-symbol-file > (princ "\n Your CPP table is primed from these files:\n") > (dolist (file semantic-lex-c-preprocessor-symbol-file) > (princ " ") > (princ file) > (princ "\n") > (princ " in table: ") > (princ (object-print (semanticdb-file-table-object file))) > (princ "\n") > )) > > file was "/usr/include/cdefs.h", and semanticdb-file-table-object > returned nil for it. > > Thanks, > -- > Laurynas -- Laurynas |