调试不显示当前存储过程版本

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.

这篇关于调试不显示当前存储过程版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Execute complex raw SQL query in EF6(在EF6中执行复杂的原始SQL查询)
SSIS: Model design issue causing duplications - can two fact tables be connected?(SSIS:模型设计问题导致重复-两个事实表可以连接吗?)
SQL Server Graph Database - shortest path using multiple edge types(SQL Server图形数据库-使用多种边类型的最短路径)
Invalid column name when using EF Core filtered includes(使用EF核心过滤包括时无效的列名)
How should make faster SQL Server filtering procedure with many parameters(如何让多参数的SQL Server过滤程序更快)
How can I generate an entity–relationship (ER) diagram of a database using Microsoft SQL Server Management Studio?(如何使用Microsoft SQL Server Management Studio生成数据库的实体关系(ER)图?)