CnPack Forum


 
Subject: 调试信息查看器输出遗漏
npc8
灌水科科长
Rank: 3Rank: 3



UID 65881
Digest Posts 0
Credits 115
Posts 37
点点分 115
Reading Access 10
Registered 2011-5-26
Status Offline
Post at 2015-5-13 18:34  Profile | Blog | P.M. 
调试信息查看器输出遗漏

IDE XE8 CNPACK 最新版
如果点击之前cndebuger未启动,以下代码只输出一次,'Work2Start...'
如果点击之前cndebuger已经启动,则有一定概率输出正常

procedure TForm1.Button2Click(Sender: TObject);
begin
  TThread.CreateAnonymousThread(
    procedure
    begin
      CnDebugger.LogMsg('Work1Start...');
    end
  ).Start;
  TThread.CreateAnonymousThread(
    procedure
    begin
      CnDebugger.LogMsg('Work2Start...');
    end
  ).Start;
end;
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2015-5-15 00:26  Profile | Blog | P.M. 
收到。我们查一下。
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2015-5-15 13:13  Profile | Blog | P.M. 
的确是我们在启动Viewer的时候没做好多线程互斥,目前已修正并提交到github了。

感谢楼主的报告。
Top
npc8
灌水科科长
Rank: 3Rank: 3



UID 65881
Digest Posts 0
Credits 115
Posts 37
点点分 115
Reading Access 10
Registered 2011-5-26
Status Offline
Post at 2015-5-15 13:35  Profile | Blog | P.M. 
多谢修复,已经测试无误,习惯了用cndebug

[ 本帖最后由 npc8 于 2015-5-15 13:43 编辑 ]
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2015-5-15 15:35  Profile | Blog | P.M. 
Top
 




All times are GMT++8, the time now is 2024-11-23 19:37

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.006699 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP