Is ZeroBUGS Open Source?
    A: No.

Does Zero work with multithreaded programs?
    A: Yes, Zero supports POSIX threads (pthreads).

Can I use Zero to debug kernel code and device drivers?
    A: No. Zero is designed for user-space applications only. For kernel space, use kgdb.

does zero work with valgrind?
    A: yes, invoke valgrind with the following command line arguments:
--db-attach --db-command=zero %p

How do I disable the graphical user interface?
    A: Specify --ui-disable option on the command line when you start Zero.

Another solution is to create a directory under your HOME: mkdir ~/my_plugins
Then copy everything from /usr/local/zero/plugins into my_plugins, but the zgui.so file.
Copy the /usr/local/bin/zero shell script to your home directory, name it my-zero, and edit the line that reads export i ZERO_PLUGIN_PATH=... to point to my_plugins. Then run my-zero.

Does Zero work with other languages than C/C++?
    A: ZeroBUGS has not been tested it with other languages (except D, see below). However, the debug information in STABS and DWARF is language-independent. The only language-dependent part in Zero is the interpreter which can only evaluate C++ expressions.

ZeroBUGS contains experimental code to support Walter Bright's D Programming Language, and a D demangler has been contributed by the D community. Support has been recently added for visualizing data types that are specific to the D language, such as dynamic arrays, and associative arrays.

After installing the rpm, when I run zero I get this message:
/usr/local/bin/zero-bin: error while loading shared libraries: /usr/local/bin/libzrt.so: cannot restore segment prot after reloc: Permission denied

A: This is caused by Security Enhanced Linux. Dilligent user Orhun Birsoy has proposed the following solution:

"Since I am using this machine as a development only machine I can disable selinux without any problems. However I was able to run zero without disabling selinux after issuing the following commands.
~# chcon -t texrel_shlib_t /usr/local/bin/libzrt.so
~# chcon -t texrel_shlib_t /usr/local/zero/plugin/*.so
~# chcon -t texrel_shlib_t /usr/local/lib/libdwarf.so"

You are mentioning a commercial version of ZeroBugs. What is different from the binaries that I can download today for free?
    A:Mainly, the free downloadable versions are not optimized for speed. The free downloads may also contain experimental features that have not been fully tested.

Does Zero support remote and cross-debugging?
    A:No, not at this time.

What platforms does Zero run on?
    A: Zero runs on IA32 and AMD64 Linux boxes. A build for the 32 bit PowerPC running Ubuntu 7.10 is also available.



Home | Top | Community