I have read another question in UNIX & LINUX stack exchange. The GUI provided in that question can be used to bebug *.sh file. How about to debug *.csh file? What other plugins for eclipse can I use so that I can debug the <*.csh> files?
You are unlikely to find such a tool, as
csh is widely viewed to be inappropriate for shell scripting. If you have any Bourne-derived shells available to you (e.g.
bash), you should consider reimplementing your work in one of those, or use a more complete scripting language such as Awk or Perl. You'll find far more robust tools for any of those alternatives, as well as more people who are knowledgeable about them who can assist you.
If you have no choice but to use
csh (e.g. vendor-supplied script), it has some command-line options that may help to give you a better idea of what's going on:
-n-- causes commands to be parsed, but not executed; useful for checking syntax of
-v-- sets the
verbosevariable to be set, which causes input commands to be echoed before variable substitution and before actual execution
-x-- sets the
echovariable, which is similar to
verbose, but it echoes the commands after substitution
For example, to check the syntax of
prompt% csh -n myscript.csh
If your script is executable, you can force one or more options on the first line of the script:
However, since these are runtime options, they may be of limited use to you within Eclipse.