Camelia, the Perl 6 bug

IRC log for #padre, 2012-11-25

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
04:18 asarch joined #padre
05:57 Foxcool joined #padre
07:31 dolmen joined #padre
08:09 sewi joined #padre
08:11 GlitchMr joined #padre
10:04 Di-ima joined #padre
11:08 Kharec joined #padre
11:59 kaare joined #padre
14:02 user_4503 joined #padre
14:03 botbot Welcome user_4503
14:05 user_4503 joined #padre
14:05 botbot Welcome user_4503
15:25 bowtie joined #padre
15:27 arnold_17 joined #padre
15:28 arnold_17 can I connect Padre to Strawberry Perl 64 bit?
17:17 asarch joined #padre
18:27 sugar_ joined #padre
19:05 sewi joined #padre
19:14 bowtie Hi all info, I have just posted Padre-Plugin-Git to CPAN
19:14 bowtie http://cpan.metacpan.org/authors/id/B/​BO/BOWTIE/Padre-Plugin-Git-0.08.tar.gz
19:14 bowtie also -> http://padre.perlide.org/trac/wiki/PadrePluginGit
19:14 bowtie note this only works against trunk
19:15 bowtie botbot tell dod Git plugin now dose basic 'blame' as requested
19:15 botbot bowtie, I'll tell that dod when we see each other.
19:30 pece joined #padre
19:47 pece joined #padre
19:49 asarch joined #padre
20:48 dolmen joined #padre
21:24 Kharec joined #padre
21:25 Di-ima joined #padre
21:59 Kharec joined #padre
23:21 SvenDowideit mmm, hello :)
23:22 SvenDowideit is anyone working on the debugger atm?
23:22 SvenDowideit I keep not using padre (and use komodo instead) because i need to be able to set options got both perl and the script i'm wanting to debug
23:23 SvenDowideit also - whats the workflow these days?
23:24 SvenDowideit last time i commited code it was pretty much just 'do'
23:25 bowtie SvenDowideit, hi
23:26 SvenDowideit heya ! i assumed I'd be in 'bad tz' :)
23:27 bowtie SvenDowideit, have you looked at current version in Padre trunk and also see -> http://padre.perlide.org/trac​/wiki/Features/Perl5Debugger
23:27 SvenDowideit I'm using trunk
23:27 SvenDowideit in fact I've use padre trunk most of the time i use padre :)
23:28 bowtie cool, what have I got to look at in debugger
23:28 SvenDowideit grin
23:28 SvenDowideit dunno - I was thinking of writing some code
23:29 SvenDowideit ok, essentially, the debugger (atm) just runs whatever is in the current edit document
23:29 bowtie the current incarnation is my doing, give me some feedback :)
23:29 SvenDowideit ah, roger :)
23:29 bowtie yes, as though you have run perl -d file.pl
23:29 SvenDowideit I have mostly scripts that have -wT on top
23:30 SvenDowideit and
23:30 SvenDowideit need other params to the script
23:30 SvenDowideit plus, i use the way komodo does it alot
23:30 SvenDowideit in that i'm in a .pm deep in the project
23:30 SvenDowideit and then want to run to a breakpoint there
23:30 bowtie ok, I assume -W is like use warnings and -T is some thing to do with not accepting data input, is that right
23:31 SvenDowideit which means setting a totally random command to start debugging
23:31 SvenDowideit -T = taint mode, so y
23:32 bowtie you can set breakpoints in a project
23:32 SvenDowideit and then I also would like a call stack, and to be able to add watch vars
23:32 SvenDowideit tbh, i havn't worked out the project 'thing'
23:32 bowtie yes set watches also w via menu
23:32 SvenDowideit it seems obscured
23:32 bowtie ok, if follows the perl -d instruction set
23:32 SvenDowideit there's no debug|watch menu item
23:33 SvenDowideit or are you refering to the 'debug-output options'
23:33 SvenDowideit which is um, very obscure
23:34 * SvenDowideit was thinking of playing with it to make it much more like other IDE debuggers tbh
23:34 bowtie yes, use the tool tip's to see function
23:34 SvenDowideit mmm, tooltips don't work well on this system
23:35 bowtie http://perldoc.perl.org/perldebug.html
23:35 SvenDowideit i guess the difference is that the way the UI is atm, it means a new user will eventually learn to use the perl debugger
23:35 SvenDowideit whereas I'd like a debugger UI that works like other IDE's debugger UI's
23:35 bowtie the issue that there is know common debugger interface
23:36 SvenDowideit so i can spend my thoughts on learning the code i'm debugging
23:36 SvenDowideit y - but i bet we dissagree on what that is
23:36 SvenDowideit some perl people know how to use the perl debugger
23:36 SvenDowideit many IDE users know how to use IDE debuggers
23:37 bowtie if we were to use plan text, then we loss control of screen real-estate, as we don't know how much space to allocate to a translation
23:37 SvenDowideit if someone comes from eclipse, or visual studio, or the borland 'place'
23:37 SvenDowideit then this debugger is very foreign
23:37 SvenDowideit and none of those use plan text at all
23:38 SvenDowideit (i'm suggesting that for 'my' and non-perl people getting further away from the perl debugger would be nice
23:39 bowtie SvenDowideit,  cool, what do you suggest that we do instead, taking into account for translations
23:39 SvenDowideit but I'm also liking that if i spend a week using this UI, i may one day use the perl debugger
23:39 bowtie yes
23:39 bowtie you just got it
23:39 SvenDowideit perhaps i did, but um, needing to 'get it'
23:40 SvenDowideit is unlikely to be received symathetically by new learners
23:40 bowtie let me find you some links
23:40 SvenDowideit that have seen the slickness of others
23:40 SvenDowideit (and yes, i use komodo because it gets out of my way more)
23:41 bowtie Pro Perl Debugging is the only book of any note relating to perl debugging
23:42 SvenDowideit y, and is quite unlikely to be bought / read by someone that just needs to debug some perl code
23:42 * SvenDowideit has most of the perl writings :)
23:42 SvenDowideit but its been a long time since i read more than a few pages
23:44 shadowpaste "bowtie" at 217.168.150.38 pasted "#!/usr/bin/env perl use 5.010;" (76 lines) at http://paste.scsys.co.uk/215331
23:45 SvenDowideit that leaves me with the q - how should I push changes to the debugger?
23:45 bowtie SvenDowideit, there is the test file for watches, load it and set a watch on @fonts
23:45 SvenDowideit i have commit (or had, um commit)
23:45 SvenDowideit y - i did run it up and used the tool tips
23:46 SvenDowideit I'd like things like watches and stack trace all to go into a gui list like the global&local vars
23:46 SvenDowideit so integrated into the UI
23:46 bowtie Open a ticket, remember that all dialogs are created using wxformbuilder and padre-plugin-formbuilder tool
23:47 SvenDowideit ok, so padre is now ticket&patch based?
23:47 SvenDowideit rather than ticket&commit?
23:47 SvenDowideit or ala when i was commiting, just commit
23:48 bowtie sorry, if you have svn commit bit then you can just commit
23:48 SvenDowideit sweet :)
23:48 SvenDowideit i think i last commited in 2008
23:48 SvenDowideit but i tend to just make small fixes for things that annoy me
23:49 bowtie ok, but remember the dialogs are created from FBP files
23:49 SvenDowideit and yesterday, the fact i wasn't using padre to debug annoyed me :)
23:49 SvenDowideit yup, i'll be looking forward to learning the new builder
23:49 SvenDowideit writing those things by hand was annoying
23:49 bowtie ok look here -> http://padre.perlide.org/t​rac/wiki/PadrePluginDialog
23:50 SvenDowideit thanks :)
23:50 bowtie the debugger pannels are same concept, but this will show you the way
23:50 SvenDowideit yup
23:51 bowtie please use the formbuilder plugin from trunk
23:51 SvenDowideit this was one thing i liked about padre - trying to fix one small thing leads to a tonne of little learnings
23:51 SvenDowideit oh, the other q
23:51 bowtie lol, I got hocked 18 months ago
23:51 bowtie go on
23:51 SvenDowideit grin
23:52 SvenDowideit how is the debugger intended to integrate with the project stuff
23:52 SvenDowideit and is the project stuff cooked in yet?
23:52 SvenDowideit last i was here projects were sorta planned, but not there
23:53 bowtie ok, it use the Padre concept of a project, ie a Makefile.PL of Build thing or padre.yml
23:53 * SvenDowideit just switched computers, have to svn clone :/
23:53 SvenDowideit ooo, cool, that should be interesting
23:54 SvenDowideit 'you selected run on a .pm file - select one of the following commands from the project, or enter your own'
23:54 SvenDowideit allowing you to select a unit test to run...
23:54 bowtie come again?
23:55 SvenDowideit ok, so in my work, I have a mash of .pm files all over the place
23:55 SvenDowideit and many .pl's
23:56 SvenDowideit hitting 'debug run' on a .pm
23:56 SvenDowideit doesn't do anything useful
23:56 bowtie ok, by project I mean module::starter
23:56 SvenDowideit ah, so its not able to use the Module::Build or MakeMaker things yet
23:57 SvenDowideit propaganda :)
23:57 bowtie you will need to start debugging on a .pl
23:57 SvenDowideit na, what i'd like to do
23:57 SvenDowideit is add a UI to the debugger
23:57 SvenDowideit that lets the user select / enter the pl to run
23:57 bowtie yes it dose have a module::starter
23:58 SvenDowideit and then to remember that choice for later
23:58 SvenDowideit one horrible thing about komodo
23:58 bowtie but the debugger is like using perl -d so you have to start with a .pl file
23:58 SvenDowideit only if we don't provide a UI to select a pl
23:59 SvenDowideit for eg, if i'm on AnyData.pm, and hit run, a dialog could pop up and let me choose t/csv.t, or type in perl -e '', or pick another pl file

| Channels | #padre index | Today | | Search | Google Search | Plain-Text | summary