Skip to main content
5 of 5
deleted 135 characters in body; edited title
Michael Mrozek
  • 95.7k
  • 40
  • 245
  • 236

How to debug csh scripts?

My lab uses csh scripts to run jobs. It is usually difficult for me to debug a shell script, so I'm wondering if there is a csh debugger I can use.

I know there are some flags like -x or -v that can help, but because the script is kind of long, it would be better if I can set breakpoints on it. As I searched online, I found there is a debugger specifically for bash scripts that supports breakpoints, but I couldn't find one for csh scripts. Will the bash debugger work? Is there a csh-specific debugger I can use?

Cassie
  • 221
  • 1
  • 3
  • 6