世界之窗论坛's Archiver

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

:lol: 什么的意思?

东暴 发表于 2007-4-20 10:41

[quote]原帖由 [i]lunakoo[/i] 于 2007-4-20 10:23 发表 [url=http://bbs.ioage.com/redirect.php?goto=findpost&pid=279114&ptid=31776][img]http://bbs.ioage.com/images/common/back.gif[/img][/url]
Debug?... 马桶的D版还不够失败么? [/quote]

支持!!!

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

[quote]原帖由 [i]寄托天下[/i] 于 2007-4-20 10:51 发表 [url=http://bbs.ioage.com/redirect.php?goto=findpost&pid=279161&ptid=31776][img]http://bbs.ioage.com/images/common/back.gif[/img][/url]
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 ... [/quote]
:o TW language

rebirth 发表于 2007-4-20 10:58

[quote]原帖由 [i]寄托天下[/i] 于 2007-4-20 10:51 发表 [url=http://bbs.ioage.com/redirect.php?goto=findpost&pid=279161&ptid=31776][img]http://bbs.ioage.com/images/common/back.gif[/img][/url]
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 ... [/quote]

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

red-M 发表于 2007-4-20 11:09

[quote]原帖由 [i]rebirth[/i] 于 2007-4-20 10:58 发表 [url=http://bbs.ioage.com/redirect.php?goto=findpost&pid=279176&ptid=31776][img]http://bbs.ioage.com/images/common/back.gif[/img][/url]


真可怜,没有输入法可以用:sad2: [/quote]

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

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

fratre 发表于 2007-4-20 11:53

[quote]原帖由 [i]寄托天下[/i] 于 2007-4-20 10:51 发表 [url=http://bbs.ioage.com/redirect.php?goto=findpost&pid=279161&ptid=31776][img]http://bbs.ioage.com/images/common/back.gif[/img][/url]
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 ... [/quote]


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([url=http://msdn2.microsoft.com/en-us/library/aa363362.aspx]http://msdn2.microsoft.com/en-us/library/aa363362.aspx[/url]), we learn:
[indent][color=blue]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, [b]OutputDebugString[/b] does nothing.[/color]
[color=black][/color]
[/indent][color=#000000]OutputDebugString function is thread safe, we can view the pseudocode from [url=http://www.unixwiz.net/techtips/OutputDebugString.txt]http://www.unixwiz.net/techtips/OutputDebugString.txt[/url]. 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). [/color]
[color=#000000][/color]
[color=#000000]If use OutputDebugString , we can receive the debug string info only by use some debug tools such as Debugview([url=http://www.microsoft.com/technet/sysinternals/utilities/debugview.mspx]http://www.microsoft.com/technet/sysinternals/utilities/debugview.mspx)[/url] . As normal user, get nothing. Moreover, it don't generate any file in the disk.[/color]
[color=#000000][/color]
[color=#000000][/color]

duckZCX 发表于 2007-4-20 12:06

[quote]原帖由 [i]fratre[/i] 于 2007-4-20 11:53 发表 [url=http://bbs.ioage.com/redirect.php?goto=findpost&pid=279230&ptid=31776][img]http://bbs.ioage.com/images/common/back.gif[/img][/url]



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 ... [/quote]
首先,谢谢这位热心的用户。

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

寄托天下 发表于 2007-4-20 13:30

[quote]原帖由 [i]fratre[/i] 于 2007-4-20 11:53 发表 [url=http://bbs.ioage.com/redirect.php?goto=findpost&pid=279230&ptid=31776][img]http://bbs.ioage.com/images/common/back.gif[/img][/url]



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 ... [/quote]


   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

都是鸟语!:cold: :cold: :cold:

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.