| bejeezus | we have a huge perl framework and for some reason when i try to debug it it takes forever ??? |
| f00li5h | "framework"? |
| avar | http://perl.is/gud-p.png |
| buu | #83256* (0) younger babies nudes |
| avar | bejeezus: DEBUGGER IS PRETTIER IN EMACS!! |
| bejeezus | dont care about pretty need something working :) |
| avar | just set a breakpoint and go-go-gadget! GumbyBRAIN: go-go-gadget breakpoint! |
| GumbyBRAIN | Although i have set a breakpoint and go-go-gadget breakpoint! |
| bejeezus | how do i set a break point ?? dont u just run perl -d <filename> and it starts interpreting line after line ? |
| avar | have you ever used any sort of debugger before? |
| bejeezus | yea but i thought perl being a scripting language it was different in perl |
| avar | it stops at the first statement. You then step through that or continue to some breakpoint `h h' |
| action | Patterner sings "`h h' said the clown..." |
| Patterner | sings "`h h' said the clown..." |
| bejeezus | ok see thats the problem. when i start to debug it takes forever for even the first line to show up |
| Ben_Jamin | Law and Order is beyond addictive. |
| avar | that means you're spending a lot of time in some BEGIN block |
| f00li5h | Ben_jamin: the DVD box set, one of the most addictive things known to man |
| NessieLiberation | an array full of strings, am i correct in thinking that i can write something outside of the () so i dont need the " " marks around each element? if there are commas in the declaration of the array |
| f00li5h | NessieLiberation: you can use wq< > but that only works for space delimited strings |
| bejeezus | oh. is there anything i can do that can make it faster ? |
| f00li5h | s/strings/arrays/ |
| NessieLiberation | wq = qw ? |
| f00li5h | NessieLiberation: it does |
| NessieLiberation | ok thanks |
| f00li5h | NessieLiberation: i use vi i make that typo all the time |
| avar | wq = qw for vi users |
| Caelum | bejeezus: why not use good logging, like Log4Perl |
| avar | C-x C-s C-x C-c (ook eek ook) |
| NessieLiberation | yeah - im a vimer user too |
| bejeezus | yea i do use that. but i am more comfortable debugging. lets u understand the flow better. its not my code i am debugging |
| f00li5h | avar: is C- controll? |
| NessieLiberation | is there a #vim ? |
| f00li5h | NessieLiberation: there is |
| avar | f00li5h: yep |
| f00li5h | avar: is there a way i can run emacs, but with vi as the text editor? |
| dalias | .... |