Changes between Version 55 and Version 56 of Features/Perl5Debugger


Ignore:
Timestamp:
11/28/11 18:21:57 (2 years ago)
Author:
bowtie
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Features/Perl5Debugger

    v55 v56  
    11[[PageOutline(1-4)]] 
    22[wiki:Features <-back] 
    3 = Debug2 in Padre trunk 0.93 r17526 
    4 If you want to see this in Padre trunk. 
     3= Debug2 in Padre trunk 0.93 r17543 
     4~~If you want to see this in Padre trunk.~~ 
    55* you will require Debug::Client 0.15 
    66 * cpanm -v http://cpan.metacpan.org/authors/id/B/BO/BOWTIE/Debug-Client-0.15.tar.gz 
     
    1414* tool-tips used extensively throughout so read them. 
    1515* **Assumption you are aware of this: http://perldoc.perl.org/perldebug.html** 
    16  
     16* see http://www.apress.com/9781590594544 is a nice text, the up and coming release will enable you to do all of Ch-04 in Padre :) 
    1717critiques welcome 
    1818=== Tips 
     
    6565When you "run debug" :) 
    6666* quit(q) is always visible, ( toolbar quit should now be enabled )  
    67 * the debugger will load breakpoints against the current file and it's project files, when it is load by the perl debug program, if you get it wrong, just quit adjust breakpoints as you go with b|B or quit and adjust then re run. 
     67* the debugger will load breakpoints against the current file and it's project files, when it is load by the perl debug program, if you get it wrong, just quit adjust breakpoints as you go with b|B or quit and adjust then re-run. 
    6868 
    6969* new icons will only be visible when debug is running 
     
    8080[[Image(debugger.png)]][[Image(debugger2.png)]] 
    8181 
    82 * Show 
    83  * show local variables(BLUE) is fixed to (y 0) local, as I don't know how to work out what level the debugger is at and how many levels there are, silly me 
    84  * show global variables(GRAY) is doing X !(INC|ENV|SIG) against a current file which is also part of a perl project. 
    85   * I have been getting perl debug errors, see POD below, so you might notice it is automaticly disabled when I think it is unsafe, then re-enable. 
    86   * If you want to see @ISA|@INC|%ENV|%SIG use the p|x button. 
    87  
    88 * Debugger-Output Options 
    89  * My premises is that we are just wrapping the command line debugger, in a nice way, hence we will use the existing perl debug command language thus subliminally teaching the perl debug CLI instructions 
    90  * These options all display in the Debug-Output panel. 
    91   * trace is a toggle against next action 
    92   * . => return to the executed line 
    93   * v => view around line 
    94   * L => list all actions 
    95   * p|x => evaluate expression 
    96    * output shows 'expression = result', tip turn Trace off 
    97    * works with $ @ % also 2 + 3 
    98    * if empty returns $_ if exists or error ) 
    99   * b|B => running Breakpoints, use .vL to see for your self, (current file) 
    100   * M => display loaded modules 
    101   * T => stack back-trace 
    102   * E => display thread id's 
    103   * o => Display all options 
     82=== Show 
     83* Show Local Variables(BLUE) is fixed to (y 0) local, as I don't know how to work out what level the debugger is at and how many levels there are, silly me 
     84* Show Global Variables(GRAY) is doing X !(INC|ENV|SIG) against a current file which is also part of a perl project. 
     85 * I have been getting perl debug errors, see POD below, so you might notice it is automaticly disabled when I think it is unsafe, then re-enable. 
     86 * If you want to see @ISA|@INC|%ENV|%SIG use the p|x button. 
     87 
     88=== Debugger-Output Options 
     89My premises is that we are just wrapping the command line debugger, in a nice way, hence we will use the existing perl debug command language thus subliminally teaching the perl debug CLI instructions. 
     90 
     91These options all display in the Debug-Output panel. some my consider these advanced, they do get more intense as you go down and to the right :) 
     92 
     93==== Code Listing  
     94* trace is a toggle against next action 
     95* . => return to the executed line 
     96* v => view around line 
     97* L => list all actions 
     98==== With value 
     99* p|x => evaluate expression 
     100 * output shows 'expression = result 
     101  * tip turn Trace off 
     102 * works with $ @ % also 2 + 3 
     103 * if empty returns $_ if exists or error ) 
     104==== Default action 
     105* b|B => running Breakpoints, use .vL to see for your self, (current file) 
     106* M => display loaded modules 
     107* T => stack back-trace 
     108* E => display thread id's 
     109* o => Display all options 
    104110 
    105111* Musings 
     
    107113 * S dropped in place of M so we can see version and location 
    108114 * H just ignored 
    109  * i don't work for silly me 
    110115 
    111116== Debugger Output