bash debugger. You can use this tool to debug bash shell script

源代码在线查看: command.cmd

软件大小: 1126 K
上传用户: yeling023
关键词: bash debugger script debug
下载地址: 免注册下载 普通下载 VIP

相关代码

				set trace-commands on				# Debugger test of 'command' command				#				# Try to set command when there is none.				command 1				#				# Now a command for a real breakpoint				break 23				command 1				x x				end				#				##############################				# Should see value of x below				# from the command statment				break 25				continue				#				#############################				# Test of a changing				# command statement. First				# The setup.				##############################				command 2				print x is now $x				end				continue				####################################				# Now we'll change the it				####################################				command 2				print "testing overwriting commands"				end				continue				####################################				# Should have seen the testing message				# above, not x. 				## FIXME: theres a weird bug 				## in evaluating expressions like $i				# Now let's remove the command 				# altogether				####################################				command 2				end				continue				quit											

相关资源