首页
社区
课程
招聘
[求助]在linux下peach如何配置才能启动调试器呀
发表于: 2011-1-10 18:11 5378

[求助]在linux下peach如何配置才能启动调试器呀

2011-1-10 18:11
5378
在linux下  peach始终无法启动调试器  我郁闷了  那位大牛知道具体怎么弄的 ?  给我指点一二,不胜感激……

我使用的是samples下的xml:
<?xml version="1.0" encoding="utf-8"?>
<Peach xmlns="http://phed.org/2008/Peach" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://phed.org/2008/Peach ../peach.xsd" version="1.0"
	author="Michael Eddington">

	<!--
		
		Example of the WindowsDebugger monitor.  This example will launch a 
		program with an attached debugger and log stack traces on faults.  The
		included example program will fault on test 47.
		
		Syntax:
		
		  python peach.py -a
		  
		  python peach.py samples\Debugger.xml
		
		Output:
		
		  You will see the tests scroll along.  Once test 47 has occured you can check
		  the c:\peach\logfiles folder for a log of this test that will include a Debugger.txt
		  faul output.
		
		Authors:
		
		  Michael Eddington (mike@phed.org)
		
		$Id: Debugger.xml 807 2008-03-25 08:34:38Z meddingt $
		
	-->

	<!-- Import defaults for Peach instance -->
	<Include ns="default" src="file:defaults.xml" />

	<DataModel name="TestTemplate">
		<String name="TheString" value="Hello World!" />
	</DataModel>

	<StateModel name="State" initialState="Initial">
		<State name="Initial">
			<Action name="SendValue1" type="output">
				<DataModel ref="TestTemplate" />
			</Action>
		</State>
	</StateModel>

	<Agent name="LocalAgent" location="http://127.0.0.1:9000">
		<Monitor class="debugger.UnixDebugger">
			<Param name="Command"
		value="samples/UnixCrashServer/unixcrash" />
			<Param name="Params" value="" />
		</Monitor>
	</Agent>

	<Test name="TheTest">
		<Agent ref="LocalAgent" />

		<StateModel ref="State"/>
		<Publisher class="tcp.Tcp">
			<Param name="host" value="127.0.0.1" />
			<Param name="port" value="4242" />
		</Publisher>
	</Test>

<Run name="DefaultRun">
	<Test ref="TheTest" />

	<Logger class="logger.Filesystem">
		<Param name="path" value="logtest" />
	</Logger>
</Run>

</Peach>

dependencies目录下的文件我也都编译了呀……
unixcrash一旦崩溃了之后  就不会重新启动了?  who  can  tell  me  why?

[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!

收藏
免费 0
支持
分享
最新回复 (2)
雪    币: 109
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
顶下楼主,
2011-1-10 20:58
0
雪    币: 57
活跃值: (55)
能力值: ( LV3,RANK:20 )
在线值:
发帖
回帖
粉丝
3
无人问津……
悲剧呀
2011-1-11 09:15
0
游客
登录 | 注册 方可回帖
返回
//