[cedet-semantic] Debugging with semantic-1.4.4
Brought to you by:
zappo
From: <WZ...@t-...> - 2004-08-21 13:05:29
|
*, when I follow the instructions for debugging (Chapter 8 Debugging) language files using BNF with "bovinate-debug" I mostly have no success. Here is the scenario: I have a simple c-file hello.c, the c.bnf grammar-description as source and the corresponing lisp-table in semantic-c.el all in my current working directory. semantic is installed properly (I hope) with (setq semantic-load-turn-everything-on t) (require 'semantic-load) and semantic-load leaving untouched, i.e. the distributed version. Now I open two files; one buffer contains hello.c, another buffer semantic-c.el, I point to the table-structure in semantic-c.el and execute semantic-bovinate-debug-set-table. Then I set the pointer to the beginning of hello.c and execute bovinate-debug: the buffer containing semantic-c.el disappears and is replaced by *BOVINATE* which only contains one line with "nil". But sometimes, after endless trials, I get the layout described in the manual and the point now sits on the rule in the table corresponding to the token found in the c-source file and I can get through the source hitting the space-key ... Whats wrong with my setup? What can I do to debug against the c.bnf file? Thanks in advance Wolfgang -- Wolfgang Zocher http://www.wolfgang-zocher.privat.t-online.de/ Registered Linux User #337888 using Debian GNU/Linux 97.025% of statistics are wrong |