1) Use the File --> Execute menu. Click on the Environment button and edit
the HOME var before launching the program.
The complete environment is saved in the history, so if you want to re-run
the program later, you can edit the saved environment. From the zerobugs
menu bar select Tools --> History. In the dialog that opens, find the entry
that corresponds to your executable and right-click on it. Select
Environment from the menu.
2) There is no UI for specifying redirects, but try this hack for a
workaround: make a wrapper shell script like this:
#! /bin/sh
./a.out < test2.c > out.txt
chmod +x wrapper
zero --trace-fork ./wrapper
Then press F10 (or from the menu bar, select Program --> Next) in zerobugs.
On Thu, Jul 30, 2009 at 1:27 PM, Duffus McGee <
caligulaemperorofr
...@yahoo.com> wrote:
> Hi all, In the zerobugs debugger, how Can I set a home directory so
> that I don't have to go through a long path every time I load a
> program? Setting the "HOME" variable does not seem to work. Also How
> can I run a program in zerobugs that I normally run on command line
> as: $ abc < in.xml > out.xml ?
> Thanks
--
the-free-meme.blogspot.com