关闭表单时调试不会停止 [英] debugging not stop when close form

查看:71
本文介绍了关闭表单时调试不会停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

我创建了项目并运行了调试程序,但是当关闭表单调试时并没有停止.我需要单击停止"按钮来中断调试.有什么问题吗?如何解决?

I created project and ran debugging but when close form debugging doesn't stop. I need click Stop button to interrupt debugging. What is a problem? How it to fix?

谢谢.

推荐答案

写入 Application.Exit(); 在停止"按钮中,单击事件".

Write Application.Exit(); in your Stop Button Click Event.

致谢

Hiran R


这篇关于关闭表单时调试不会停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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