[
Thread Prev][
Thread Next] >
Date Index
>
Thread Index
Re: Perl Debugger und fork
Wilfried Gänsheimer -
Sun Sep 17 00:01:23 2006
Hallo Richard and all others,
Richard Foley schrieb:
Gut das dein xterm funkzioniert. Mit forking perl programme ist es fast die
einzige loesung.
Ich habe gerade probiert mittels $ENV{PERLDB_OPTS}="NonStop frame=2"
im child-Prozess, aber das geht auch in die Abfrage das man den Debugger
mittels "q" bzw. "R" beenden/neustarten moechte.
Mal sehen ob es noch weitere Variable gibt ( so was wie "AutoQuit" waere
gefragt).
Ich verstehe der Frage wahrscheinlich nicht richtig, aber mann koente
einen .dbrc file erstellen das ausgefuehrt wird am start. Koente 'q' in
dieses datei eingefuhrt, aber ich verstehe nicht warum du moechtest starten
und quiten alles auf einmal ?-) Noch was anzuschauen waere @DB::typeahead.
Currently I get four extra xterms, then I have to move the mouse into
each one, type a single q, after that I have to close
the xterms manually. Obviously I do not want to quit the main program,
just the silly childs should run without
manual interaction (in debug mode they are only simple "system( cat ...
)". That' s just a nuisance, but according
to my motto TIAAWT (There is always a way to ...; in german: Wo ein
Willi ist, da ist auch ein Weg) I thought there
might be a "perl -nod" switch to disable the debug mode (I know, we are
talking about fork; so that is not as simple).
Thanks to everyone a lot to everone to the discussion so far.
Maybe I'll make it on Wednesday (75% chance), so we could continue there.
And next week I want to ask: How is the magic perl script header, that
works on all platforms
(at least on Solaris, Linux and MS-Win?) ;-)?
Bye, happy weekend
Wilfried
Next:
- Re: Perl Debugger und fork, (continued)
9. Deutscher Perl-Workshop / Call for Papers,
ReneeB
Munich Perl Mongers September-Treffen,
Harald Joerg