Professional Web Applications Themes

debugger - PERL Beginners

Hello all, When using the perl debugger, is there a way to load in the breakpoints and watch variables that I want from a file. I am using it now and as I am debugging I am finding problems but when I start the program over I have to re-enter all my breakpoints and watch variables again. Can these be listed in a file and then read by the debugger to ease the amount of things to enter? Thanks Perlknucklehead...

  1. #1

    Default debugger

    Hello all,
    When using the perl debugger, is there a way to load in the breakpoints
    and watch variables that I want from a file. I am using it now and as I
    am debugging I am finding problems but when I start the program over I
    have to re-enter all my breakpoints and watch variables again. Can these
    be listed in a file and then read by the debugger to ease the amount of
    things to enter?

    Thanks
    Perlknucklehead




    Eric Walker Guest

  2. #2

    Default Re: debugger

    In article <1071850572.1651.3.camelewalker-lnx>,
    [email]ewalkermicron.com[/email] (Eric Walker) writes:
    >Hello all,
    >When using the perl debugger, is there a way to load in the breakpoints
    >and watch variables that I want from a file. I am using it now and as I
    >am debugging I am finding problems but when I start the program over I
    >have to re-enter all my breakpoints and watch variables again. Can these
    >be listed in a file and then read by the debugger to ease the amount of
    >things to enter?
    This is why I added the 'source' command to the debugger in 5.8. You
    can put debugger commands for setting breakpoints or doing anything
    else you like in a file and execute it whenever you like. Just list
    the breakpoints and watchpoints and turn them into the appropriate
    commands (a simple script will automate that if you need).

    --
    Peter Scott
    [url]http://www.perldebugged.com/[/url]
    *** NEW *** http//www.perlmedic.com/
    Peter Scott Guest

  3. #3

    Default Re: debugger

    zentara <zentarahighstream.net> wrote:
    > On 19 Dec 2003 09:16:10 -0700, [email]ewalkermicron.com[/email] (Eric Walker) wrote:
    >
    > >Hello all,
    > >When using the perl debugger, is there a way to load in the breakpoints
    > >and watch variables that I want from a file. I am using it now and as I
    > >am debugging I am finding problems but when I start the program over I
    > >have to re-enter all my breakpoints and watch variables again. Can these
    > >be listed in a file and then read by the debugger to ease the amount of
    > >things to enter?
    >
    > I know you are asking about the perl debugger, but the Tk version
    > ptkdb has menu item for "saving settings" for the script, which save
    > all breakpoints and watched variables.
    The GUI/Tk interface is superb .... check it out.

    If you don't have access to that (or can't install it like I can't [yes, even
    in my own HOME directory]), you can always save your breakpoints and watches
    to a plain text file, such as

    b 84
    b 192
    W $line
    W %custRec

    then just use good ol' fashioned cut/paste once you enter the line mode of the
    debugger....

    -Jeff


    __________________________________
    Do you Yahoo!?
    New Yahoo! Photos - easier uploading and sharing.
    [url]http://photos./[/url]
    Jeff Westman Guest

Similar Threads

  1. Debugger question ???
    By michael_eisenman@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 4
    Last Post: February 5th, 11:18 PM
  2. can't connect in debugger
    By mitchgrrt in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: April 30th, 08:18 PM
  3. Debugger question
    By Derek Goto in forum PERL Miscellaneous
    Replies: 1
    Last Post: August 25th, 09:56 AM
  4. Debugger not working
    By glenn venzke in forum ASP
    Replies: 0
    Last Post: August 15th, 04:48 PM
  5. debugger for AIX
    By Egor Yu. Shkerin in forum UNIX Programming
    Replies: 0
    Last Post: August 1st, 06:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139