How use Sun Studio 9 to kick-off shell script that contains debug target

Hello,

While rhe shell script is marked as executable, the Sun Studio 9 debug mode does not see it that way.

Unfortunately, my executable is wrapped inside the shell script.

How do I convince the debug mode that the shell script is an ok executable so that I can use the very nice debugger?

Thanks much

[333 byte] By [denniska] at [2007-11-27 11:51:39]
# 1

From the IDE Tools menu select Allow ss_attach requests.

Then in your shellscript prepend ss_attach in front of the

program you want to debug. ss_attach is a command in the

same bin as dbx and sunstudio.

Now run your shellscript from a terminal. You should get a dialog in

the IDE asking you if you want to attach to your executable.

IvanIgorovicha at 2007-7-29 18:39:34 > top of Java-index,Development Tools,Solaris and Linux Development Tools...