Board logo

标题: theworld可以考虑出个debug版本 [打印本页]

作者: mengfanbo    时间: 2007-4-20 10:13     标题: theworld可以考虑出个debug版本

对于程序开发来说,调试是非常重要的
对于theworld,专门的测试人员可能会比较紧缺
一般用户又缺乏经验,无法准确描述bug的原因和现象

鉴于这种情况,我建议出一个debug版本
在程序中加入大量调试命令,在运行时实时输出信息到log文件中
当程序出现问题后,用户可以把log文件帖到论坛,供开发组参考

在开发中,这种调试信息可以通过预编译来控制开关
因此不会给开发带来很多麻烦,无需多维护一个代码版本

debug版本不一定完全对外公开,可以由用户志愿申请使用
并且承诺遵守一定的保密条件

如果有这种debug版本,我一定报名试用,希望theworld越做越好!
作者: lunakoo    时间: 2007-4-20 10:23     标题: 回复 #1 mengfanbo 的帖子

Debug?... 马桶的D版还不够失败么?
作者: 东风泊    时间: 2007-4-20 10:31

什么的意思?
作者: 东暴    时间: 2007-4-20 10:41

原帖由 lunakoo 于 2007-4-20 10:23 发表 http://bbs.ioage.com/images/common/back.gif
Debug?... 马桶的D版还不够失败么?


支持!!!
作者: jym2005    时间: 2007-4-20 10:45

提示: 作者被禁止或删除 内容自动屏蔽
作者: jym2005    时间: 2007-4-20 10:45

提示: 作者被禁止或删除 内容自动屏蔽
作者: 寄托天下    时间: 2007-4-20 10:51

Your suggestion sounds like a poem,maybe I would call mentalism. lol.Of cz its a joke.But u know that  if the debugversion have been put in 2 someguys should be destroy the users' confidence of the browser.Lunankoo is right,we should get some ways from the Maxthon,it's really a blood lesson to every developer.Thx your illumination remark.
作者: 319702aa    时间: 2007-4-20 10:55

原帖由 寄托天下 于 2007-4-20 10:51 发表 http://bbs.ioage.com/images/common/back.gif
Your suggestion sounds like a poem,maybe I would call mentalism. lol.Of cz its a joke.But u know that  if the debugversion have been put in 2 someguys should be destroy the users' confidence of t ...

TW language
作者: rebirth    时间: 2007-4-20 10:58

原帖由 寄托天下 于 2007-4-20 10:51 发表 http://bbs.ioage.com/images/common/back.gif
Your suggestion sounds like a poem,maybe I would call mentalism. lol.Of cz its a joke.But u know that  if the debugversion have been put in 2 someguys should be destroy the users' confidence of t ...


真可怜,没有输入法可以用
作者: red-M    时间: 2007-4-20 11:09

原帖由 rebirth 于 2007-4-20 10:58 发表 http://bbs.ioage.com/images/common/back.gif


真可怜,没有输入法可以用


恩,他怎么不考虑考虑俺们这些鸟语不行的呢
直接汉语拼音不就得啦

btw:目前开发组在和用户点对点解决问题的时候会根据情况选择是否提供debug版本。
我个人不建议在论坛发布debug版本。
作者: fratre    时间: 2007-4-20 11:53

原帖由 寄托天下 于 2007-4-20 10:51 发表 http://bbs.ioage.com/images/common/back.gif
Your suggestion sounds like a poem,maybe I would call mentalism. lol.Of cz its a joke.But u know that  if the debugversion have been put in 2 someguys should be destroy the users' confidence of t ...



It doesn't necessarily follow.
I don't know what is "Mathon debug version  blood event", but if use the proper policy, the debug version would contribute the trail of some damn bug and not severely reduce the experience.
I'm a developer, "OutputDebugString" is the usual debug method. From the msdn(http://msdn2.microsoft.com/en-us/library/aa363362.aspx), we learn:
If the application has no debugger, the system debugger displays the string. If the application has no debugger and the system debugger is not active, OutputDebugString does nothing.

OutputDebugString function is thread safe, we can view the pseudocode from http://www.unixwiz.net/techtips/OutputDebugString.txt. As far as I know a lot of software productions use the function in the release version at some time in the past. Such as TM, NAV, MSDN etc(Maybe skip over to remove).

If use OutputDebugString , we can receive the debug string info only by use some debug tools such as Debugview(http://www.microsoft.com/technet/sysinternals/utilities/debugview.mspx) . As normal user, get nothing. Moreover, it don't generate any file in the disk.


作者: duckZCX    时间: 2007-4-20 12:06

原帖由 fratre 于 2007-4-20 11:53 发表 http://bbs.ioage.com/images/common/back.gif



It doesn't necessarily follow.
I don't know what is "Mathon debug version  blood event", but if use the proper policy, the debug version would contribute the trail of some damn bug and no ...

首先,谢谢这位热心的用户。

你们的心意,开发组是心领了,但毕竟目前的TW已到了RC3阶段,所有的东西从TW2.X系列开始就已打好了行程,多的,我想我作为一个普通的用户也没什么说的了~
作者: 寄托天下    时间: 2007-4-20 13:30

原帖由 fratre 于 2007-4-20 11:53 发表 http://bbs.ioage.com/images/common/back.gif



It doesn't necessarily follow.
I don't know what is "Mathon debug version  blood event", but if use the proper policy, the debug version would contribute the trail of some damn bug and no ...



   Thx your advice .thats right, with  the development of the internet,plenty of websites  become so complex and  some of frameworks maybe  not fit the normal.how to improve the stability and  reliability of theworld browser becomes more and more significant.I always think that  the phoenix studio devote themselvs 2 analyze the reliability of the browser  with study of test process and testing tools is so hard .U know,2 the  developer ,finding the bugs how 2 entered the developprogress and testing why the error impossible to defend effectively on ocassion.
   As a developer,u should c thats NOT the certain particular error,the developers take part in the progress lacked communication of cz not evasion. As a result,many guys thought that put the dugversion will get the user done once and for ever .Its the final  methods of software reliability and its strategic apply in browser quality assurance are summarized importantly.At the present time,establishing the unobstructed communication channel in the development personnel and the common user should be become the plan stage as a part. At present developing  the group should  emphasis to put in participates in the application procedure development, the user should  cooperation eachohter , this certainly  not mean had to use thespecial-purpose procedure to test promotes the quality,just forms a ring circuit 2 put in the bugs.germination, refined management, constructs with the transformation is the inevitable process in the  software develops, bless  our browser.
作者: phoenix    时间: 2007-4-20 13:48

TheWorld的源代码中大量使用了调用OutputDebugString的自制函数DebugString
我们同时使用如下宏来确保任何版本都能通过简单的修改编译宏来获得Debug输出

#ifdef _LOGDEBUG
        void DebugString( const char *format, ... );
#else
        #define DebugString ((void)0)
#endif

对于Release版本的TW来说,只要编译宏加入 _LOGDEBUG就可以有带debug string的版本了
但是我认为只有点对点解决问题的时候才可能需要这个,更简单的在关键地方打几个MessageBox

明白各位的好意,如果我们真的遇到极端的问题实在解决不了,会考虑这种形式的,目前暂时还不打算这样做
作者: kemad    时间: 2007-4-20 14:19

都是鸟语!




欢迎光临 世界之窗论坛 (http://bbs.theworld.cn./) Powered by Discuz! 7.2