Debugging does not show current stored procedure version(调试不显示当前存储过程版本)
问题描述
我正在开发一个 SQL Server 2008 R2 实例.我刚刚更改了存储过程的代码.当我尝试调试该 proc 时,SSMS 调试窗口显示代码的 older 版本.
I'm working on a SQL Server 2008 R2 instance. I've just changed the code for a stored procedure. When I try to debug that proc, the SSMS debug window shows the older version of the code.
如何强制 SSMS 显示当前版本的代码?
What can I do in order to force SSMS into presenting the current version of the code?
提前致谢.
推荐答案
这个问题在 SQL Server 中已经存在多年了.在与正确版本的源代码同步之前,启动和停止调试器通常需要一些时间.
This problem has existed for years in SQL Server. It usually takes a couple time starting and stopping the debugger before it syncs up with the correct version of the source.
您还会注意到打开了几个窗口,显示调试器知道的最后一个源.他们需要关闭.即使是皮塔,解决问题的最快方法是停止管理工作室并重新启动它.
You will also notice that a few windows are open showing the last source the debugger is aware of. They need to be closed. Even though it is a pita, the fastest way to clear the problem is to stop management studio and restart it.
这篇关于调试不显示当前存储过程版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:调试不显示当前存储过程版本


- 更改自动增量起始编号? 2021-01-01
- SQL 临时表问题 2022-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01