LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-13-2009, 09:24 AM   #1
Gary_Menegon
Member
 
Registered: Jun 2004
Location: Joliet, Illinois
Distribution: slackware
Posts: 38

Rep: Reputation: 15
Slackware tools and debugs


I was playing with scripts the other day and ran across

sh -x scriptname

to debug a script. I was wondering; is there other tools and debugs in Slackware? Does someone have a good list of tools and debugs?
thankyou in advance!

Gary
 
Old 08-14-2009, 08:19 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
Hi Gary,

I have seen your question in the 'Zero Reply' section for a few days so wanted to toss a little bit of info your way:

The method you mention there, for debugging a script, is not specific to Slackware, nor any other particular Linux distro. It's actually a (Bash) Shell option; the -x option tells the shell to start in debug mode. Bash does this for sure, and I suspect (some) other shells would have a similar capability; the sh command is a symlink to /bin/bash on Slackware and perhaps other Linuxes, and is there for compatibility reasons.

I'm not sure off the top of my head what particular debugging tools are included with Slack, or any other Linuxes. but `gdb` is just one which I believe is commonly found (it's the GNU debugger) and *is* on Slackware.

Sasha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
backtrack tools for Slackware D.A. Linux - Software 1 11-17-2007 03:02 PM
LXer: Eclipse CruiseControl and EPIC Perl debugs LXer Syndicated Linux News 0 02-15-2006 07:01 AM
Get helper tools for Slackware here gnashley Slackware 3 09-12-2005 08:48 AM
a gui for the Slackware tools. :) egag Slackware 2 02-20-2005 11:58 AM
problem with wine it wont open a file it just debugs it Soggy Linux - Software 1 10-27-2003 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration