Ask a Question related to PERL Beginners, Design and Development.

  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. Similar Questions and Discussions

    1. Debugger question ???
      I am executing this command in the JS debugger for a PDF Form that is loaded and being displayed: saveAs("Z:\\Test.tif","com.adobe.acrobat.tiff");...
    2. can't connect in debugger
      I'm using FlexBuilder 3 and the debugger used to work fine, but it stopped yesterday. Now whenever I try to start a program in the debugger, a...
    3. Debugger question
      I was running the perl debugger with arguments "-d -e 1" to test a small program. When I assigned a value to the variable $foo, I could use it...
    4. Debugger not working
      I'm running an ASP test site on XP Professional/IIS 5.1. The problem I'm having is that error messages are not being displayed. If I get a script...
    5. debugger for AIX
      On Thu, 31 Jul 2003 20:25:54 +0300 "Geeco" <hey01@luukku.com> wrote: Hello, I've never used dbx, ddd. But I have some experience of using...
  3. #2

    Default Re: debugger

    In article <1071850572.1651.3.camel@ewalker-lnx>,
    [email]ewalker@micron.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

  4. #3

    Default Re: debugger

    zentara <zentara@highstream.net> wrote:
    > On 19 Dec 2003 09:16:10 -0700, [email]ewalker@micron.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.yahoo.com/[/url]
    Jeff Westman Guest

Posting Permissions

  • You may not post new threads
  • You may 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