1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Executable extension problem 2

Discussion in 'Support' started by Péter Köves, Nov 2, 2009.

  1. Péter Köves

    Joined:
    Jun 1, 2008
    Messages:
    58
    Likes Received:
    0
    For a long while I have had the following

    >set .PL
    perl %@execstr[set /v perlparams]

    >perldebug OFF
    >set /v perlparams
    -S

    >perldebug ON
    >set /v perlparams
    -S -d:ptkdb

    As you can guess perldebug.btm is a script that I use that sets the state of the debug switch for perl. I use the volatile environment to a) make the setting visible across TCC sessions and b) reset to the default when the system is rebooted.

    This has worked fine up to V10, i.e.
    >perldebug on
    >set /v perlparams
    -S -d:ptkdb
    >which patren
    patren is an executable extension : perl %@execstr[set /v perlparams] C:\CMD\patren.pl
    >patren
    The ptkdb perl GUI debugger opens with patren.pl loaded

    In V11 the perl script just runs without the debugger for the exact same sequence. Typing the output of which explicitly at the command line does work in V11.
     

Share This Page