开发者

Viewing return code in debugger when the value is not assigned to a variable

开发者 https://www.devze.com 2023-01-06 02:33 出处:网络
In case of the following code: da.Fill(ds) Is it possible to view the return code from the Fill method in the Visual Studio debugger?

In case of the following code:

da.Fill(ds)

Is it possible to view the return code from the Fill method in the Visual Studio debugger?

If the following is the case:

rc = da.Fill(ds)

then it's not a problem, as the variable rc g开发者_高级运维ets the value assigned, but there are cases when I can't modify the code and re-build.


It's displayed in the "Autos" window. Debug/Windows/Autos

At least for C++, doesn't seem to work for C#.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号