While debugging read all values from an odbcdatareader query

151 Views Asked by At

We want to read the values from "answer" while we are in debug mode in visual studio without taking them with getValues function, just for debug.

Is there any property shown in the local variable section where we can see the values?

Dim conex As Odbc.OdbcConnection
query = "SELECT one,two,three,four FROM table"

Dim com As New Odbc.OdbcCommand(query, conex)
answer = com.ExecuteReader

While answer.Read
 ...
End While

Some example images: The code Debugging variables, local variables section

0

There are 0 best solutions below