只是在断点时间运行 [英] run just in breakpoint time

查看:84
本文介绍了只是在断点时间运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi

我有一个程序,当我在其中输入breakpoin时,它可以正常工作...但是当我在没有断点的情况下运行它时,它是false ..

任何没有错误的地方,但我不知道为什么不起作用!

有人可以帮我吗?

谢谢您的时间.

解决方案

如果为true,则这是很难发现的问题之一,可能与计时应用程序中发生的事情有关,特别是与外界比较时.

不幸的是,我们不能说做到这一点,它将解决它",因为由于您提供给我们的信息有限,我们不知道您的代码将做什么,更不用说它是如何做到的了!

看来您将不得不退回"旧的调试方法:向您的代码中添加日志记录语句,以尝试至少确定发生问题的粗糙区域,而不是完全使用调试器.

我发现了问题...

在面向事件的程序中,断点在程序过程中有效.

如果程序不是可视的或多线程的,那么这并不重要...


hi

i have a program and when i input breakpoin in that works corectly ... but when i run it without breakpoint works false ..

anywhere it hasnt error but i dont know why dosnt work !!

can anybody help me ??

thank you for time

解决方案

If true, then this is one of the difficult-to-find problems, and may be related to timing what happens when in you application, specifically when compared to the outside world.

Unfortunately, we can''t say "do this, it''ll fix it" because with the limited information you have given us we have no idea what your code does, let alone how it does it!

It looks like you will have to "fall back" to the older method of debugging: adding logging statements to you code to try and pin down at least the rough area in which the problem happens rather than using the debugger at all.


i found problem...

in event oriented programs ,breakpoint is effective in program process

if program was not visual or multithread this matter wasnt important...


这篇关于只是在断点时间运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆