Menu

#5 Call Tree Broken

open
nobody
None
5
2004-02-12
2004-02-12
Anonymous
No

cbrowser v 0.8
cscope v 15.4
linux 2.4.21-166-default (SuSE 9)
Window system KDE

Choosing File:Call Tree results in an Application Error
dialog box: 'Error: megawidget initialization error:
expected integer but got "--1"' (see the "Details" below).

The second time File:Call Tree is chosen, a window
titled "calltree" opens, but has no content area (see
attached "calltreeWindow.png").

This occurs when the cscope db was generated from the
command line with "cscope -r", and when cbrowser built
the database.

To summarize, the cases are:

1. Lookup symbols/text normally in cbrowser. Choose
File:Call Tree. Get error dialog.
2. Close ("Ok") error dialog. (do not lookup any
symbols/text). Choose File:Call Tree. Get empty
"calltree" window.

---
"Details" from the Application Error dialog box:

megawidget initialization error: expected integer but
got "--1"
megawidget initialization error: expected integer but
got "--1"
while executing
"hierarchy $toplevel.hier -browsecmd calltree_expand
-nodelook calltree_look -command calltree_view_node
-root main "
(procedure "calltree_dialog" line 122)
invoked from within
"calltree_dialog .calltree"
invoked from within
".#mainmenu.#file invoke 8"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke $i]"
(procedure "tk::TraverseWithinMenu" line 25)
invoked from within
"tk::TraverseWithinMenu .#mainmenu.#file t"
(command bound to event)

Discussion

  • Nobody/Anonymous

    calltree Window (empty)

     
  • Joe Davida

    Joe Davida - 2004-12-09

    Logged In: YES
    user_id=309464

    I am running version 0.8 and it seems
    that it locks up after just a few operations.
    None of the buttons responded and I had
    to kill it from another shell.

    It is not ready for prime time yet.

    I think it is a useful tool for generating a
    graphical call tree if it gets to work at all.

    Q: is the size of the cscope database an issue for cbrowser?
    My csope.out is 37608752 bytes.

     
  • Joe Davida

    Joe Davida - 2004-12-09

    Logged In: YES
    user_id=309464

    I am running version 0.8 and it seems
    that it locks up after just a few operations.
    None of the buttons responded and I had
    to kill it from another shell.

    It is not ready for prime time yet.

    I think it is a useful tool for generating a
    graphical call tree if it gets to work at all.

    Q: is the size of the cscope database an issue for cbrowser?
    My csope.out is 37608752 bytes.

     
  • Nobody/Anonymous

    Logged In: NO

    i am running version 0.8 and have a similar problem and the
    call-tree is the best part.

     
  • sudarg

    sudarg - 2009-04-01

    I am running version 0.8 and observing the exact same behaviour as above.

     
  • Jacob Nevins

    Jacob Nevins - 2009-08-17

    Same problem, with 0.8 and 0.7 (both off sourceforge) and also 0.6 from <http://www.ziplink.net/~felaco/cbrowser/>.

    Running on "Red Hat Enterprise Linux WS release 3 (Taroon Update 8)".

     
  • Jacob Nevins

    Jacob Nevins - 2009-08-17

    cbrowser-0.8 includes files from the 1997-dated "widget.tar.gz" on <http://www.tcl.tk/community/hobbs/tcl/script/widget/>. I thought I'd have a go at replacing the files with ones from "widget-0.9.tar.gz" on that page on the off-chance, but after much flailing (I don't know anything about Tcl) I ended up getting the same error. Giving up on cbrowser now.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.