Author Topic: Can't debug perl scripts on MAC  (Read 3190 times)

tuchman

  • Senior Community Member
  • Posts: 144
  • Hero Points: 7
Can't debug perl scripts on MAC
« on: August 25, 2014, 03:55:48 PM »
I am able to run a perl script through to completion using "Start, F5".
However, stepping into code (even dead-simple "hello world" script) almost always shows:
- All debug controls grayed out except for "stop", "view breakpoints"
- No local or auto variables shown.
- Must "stop" to end debugging.

If I close/open SE several times, I am sometimes able to get the expected debug results.
2013 Mac version has some perl debugging issues with same work flows on same Mac, but 2013 usually works fine with "simple" perl scripts.
Some environment info below.

Thanks,
-ken 

SlickEdit 2014 (v19.0.0.4)
Build Date: August 20, 2014
Emulation: Mac OS X
OS: Mac OS X Mavericks
OS Version: 10.9.4
Processor Architecture: Intel(R) Core(TM) i5-4260U CPU @ 1.40GHz 64 bit (4 cores)
Memory: 82% Load, 3377MB/4096MB Virtual
Shell Info: /Applications/SlickEdit2014.app/Contents/MacOS/secsh -i
Screen Size: 1366 x 768

Project Type: Perl
Language: .pl (Perl)
Installation Directory: /Applications/SlickEdit2014.app/Contents/
Configuration Directory: /Users/tuchman/Library/Application Support/SlickEdit/19.0.0/

SE tuchman@tuchman-mac01 MacOS]$ setenv PATH "/usr/bin:/bin:/usr/sbin:/sbin"
[SE tuchman@tuchman-mac01 MacOS]$ setenv PATH "/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
[SE tuchman@tuchman-mac01 MacOS]$ cd /Users/tuchman/CrashInspect/CrashInspect.app/Contents/MacOS
[SE tuchman@tuchman-mac01 MacOS]$ setenv PERLDB_OPTS "RemotePort=127.0.0.1:59648"
[SE tuchman@tuchman-mac01 MacOS]$ setenv DBGP_IDEKEY "slickedit"
[SE tuchman@tuchman-mac01 MacOS]$ setenv PATH "/usr/bin:/bin:/usr/sbin:/sbin"
[SE tuchman@tuchman-mac01 MacOS]$ setenv PATH "/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
[SE tuchman@tuchman-mac01 MacOS]$ cd /Users/tuchman/CrashInspect/CrashInspect.app/Contents/MacOS
[SE tuchman@tuchman-mac01 MacOS]$ echo VSLICKERRORPATH="/Users/tuchman/CrashInspect/CrashInspect.app/Contents/MacOS"
VSLICKERRORPATH=/Users/tuchman/CrashInspect/CrashInspect.app/Contents/MacOS
[SE tuchman@tuchman-mac01 MacOS]$ "/usr/bin/perl" -I ~/perl5/lib/perl5 -Mlocal::lib -d -I/Applications/SlickEdit2014.app/Contents/resource/tools/perl5db-0.30 "/Users/tuchman/CrashInspect/Snippets/hi.pl" -outdir "/Users/tuchman/Application Support/CrashInspect/results/new/Users/tuchman/CrashInspect/dumps/regi/XMM7160_YMODEM_FCD_Smoke_Test/withJSON"  -fmt combined -file  /Users/tuchman/CrashInspect/dumps/regi/XMM7160_YMODEM_FCD_Smoke_Test/000546-0xdddd-200-cat_system_uta_cat_cntrl_statuscmds.c-7161.fcd -axf  /Users/tuchman/CrashInspect/dumps/regi/XMM7160_YMODEM_FCD_Smoke_Test/XMM7160.axf -out id=json_1 -out ver=01.01 -keepuseful -usr tuchman
[SE tuchman@tuchman-mac01 MacOS]$

Rodney

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 798
  • Hero Points: 54
Re: Can't debug perl scripts on MAC
« Reply #1 on: August 25, 2014, 04:58:30 PM »
I've reproduced this on Lion. Looks like we never get anything else over the debug socket connection after issuing the run. Not sure what is going on yet.

++rodney