TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Maik Brauer
NA
12
43.2k
Debugging / Watch Window shows value to late
Nov 3 2010 4:37 AM
Hi,
when debugging a VB.NET Application and with help of the Watch1 window in order to see the values of variables at runtime the value will always be shown when the pointer is 1 line ahead of the line where this value should be displayed already.
Here an example:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim BestellGuid As Guid
Dim Telefon as string
Dim Name as string
Tbl_AuftragTableAdapter.FillByAuftragsID(MyDataSet.tbl_Auftrag)
BestellGuid=Tbl_AuftragBindingSource.Item(Tbl_AuftragBindingSource.Position).row("AuftragGuid")
Name=Tbl_AuftragBindingSource.Item(Tbl_AuftragBindingSource.Position).row("Name")
Telefon=Tbl_AuftragBindingSource.Item(Tbl_AuftragBindingSource.Position).row("Telefon")
End Sub
When I have put the "BestellGuid" inside the WATCH1 window then I would expect that this value will be shown when the debugger pointer went over the Line with the BestellGuid. But this is not the case. The value will be shown in the WATCH1 Window after it has passed the "Name" Line.
So the debugger is always 1 line behind the current debugged line.
This is just happening when the Target
CPU
is x64. When using the x86 then it is working. Does somebody know the reason?
Cheers,
Maik
Reply
Answers (
0
)
MissingManifestResourceException was unhandled
Columns Order In Datagridview