Sabuncu
Sabuncu

Reputation: 5274

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

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 gets the value assigned, but there are cases when I can't modify the code and re-build.

Upvotes: 0

Views: 348

Answers (1)

Henrik
Henrik

Reputation: 23324

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

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

Upvotes: 2

Related Questions