exit the debugger with a non-zero return code

Discussion in 'Perl' started by Paul Faulstich, Jan 27, 2004.

  1. How can one exit the debugger with a non-zero return code?

    My perl script is called from another program which checks the return
    code. When I run it through the perl debugger, the debugger exits
    with a zero for its return code even if my script calls exit with a
    non-zero value. How can I pass the value from my script on when I
    quit from the debugger?

    Thanks,

    Paul Faulstich

    L.L. Bean, Inc.
     
    Paul Faulstich, Jan 27, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U2FuZHk=?=

    Code to Exit Web App and Exit Internet Explorer

    =?Utf-8?B?U2FuZHk=?=, Aug 3, 2005, in forum: ASP .Net
    Replies:
    7
    Views:
    8,295
    =?Utf-8?B?U2FuZHk=?=
    Aug 5, 2005
  2. Joe Smith
    Replies:
    4
    Views:
    66,898
    sandeep1976
    Nov 8, 2006
  3. QQ
    Replies:
    5
    Views:
    717
    Jonathan Adams
    May 10, 2005
  4. Yujo
    Replies:
    2
    Views:
    619
    Gabriel Genellina
    Apr 10, 2007
  5. Replies:
    2
    Views:
    374
  6. Lakshmi Sreekanth

    If number is 0 return zero else return one

    Lakshmi Sreekanth, Sep 14, 2009, in forum: C Programming
    Replies:
    11
    Views:
    844
    Phil Carmody
    Sep 16, 2009
  7. jacob navia
    Replies:
    3
    Views:
    800
    Nick Keighley
    Feb 24, 2010
  8. Keith Thompson
    Replies:
    10
    Views:
    940
    Tim Rentsch
    Mar 3, 2010
Loading...