Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: RFC: debugger_trainer

by roboticus (Canon)
on Dec 24, 2012 at 22:40 UTC ( #1010238=note: print w/ replies, xml ) Need Help??


in reply to RFC: debugger_trainer

ww:

That's a great idea. I would've loved something like that when I started. I like the idea of having print statements suggesting debugging operations to try, too. It would be interesting to guide a user through some basic debugging operations. It would also be nifty if it was extensible, so when someone has a debug trick they like, they could add a small script showing how to perform the trick.

...roboticus

When your only tool is a hammer, all problems look like your thumb.


Comment on Re: RFC: debugger_trainer
Re^2: RFC: debugger_trainer
by ww (Bishop) on Dec 25, 2012 at 01:14 UTC
    "it was extensible...."

    Extensible, as in a suite of scripts -- each focusing on a few areas? I'm not sure that's what you had in mind, but if so, sounds like a very good idea.

    FOSS lives!

      ww:

      Yep. I was thinking that there might be a set of functions that many/most debug trainer scripts might want. Hopefully it would then be possible to do include it, set up a data structure or two and a few print statements or something. I was thinking it would be nice if you'd run a script, and it would start out telling you what it was going to show you, do a little setup and then present the debug prompt. (Perhaps using the @DB::typeahead buffer to get the program running before the user had to guess what to do.)

      Of course, I may be over-thinking it, too. It might just be as simple as a few print statements containing instructions and a CPAN bundle and/or namespace to put 'em.

      I don't use the debugger much, and when I do, it's just for a few simple things. I don't know everything it's capable of. I used to use Microsoft's CodeView, and learned a lot about it. It was surprisingly capable. It will be interesting to see what techniques might get published.

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1010238]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-04-17 23:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (459 votes), past polls