调试器跳过行-不知道为什么 [英] debugger skipping lines - not sure why
本文介绍了调试器跳过行-不知道为什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有这个子例程:
Private Sub LoadCombo()
Dim StreetAdapter As OleDbDataAdapter
Dim dTable As DataTable
Dim oConn As OleDbConnection
oConn = New OleDbConnection(connection.ConnString)
StreetAdapter = New OleDbDataAdapter("SELECT * FROM Street ORDER BY StreetName ASC", oConn)
dTable = New DataTable
StreetAdapter.Fill(dTable)
Me.StreetCombo.ColumnWidths = ComboBoxWidths
bsData.DataSource = dTable
Me.StreetCombo.DataSource = bsData
End Sub
推荐答案
在调试期间,当符号文件(* .pdb)与源文件不匹配时.例如,当我更改源代码并且Visual Studio不重建程序集/符号文件时,因为在解决方案属性页->配置"中 属性->配置> 构建"未选中.
I get "jumping breakpoints" during debugging, when symbol file (*.pdb) does not match source-file(s). For example, when I change source-code, and Visual Studio does not rebuild the assembly/symbol-file, because in "Solution Property Pages->Configuration Properties->Configuration" "Build" is not checked.
以诚挚的问候
这篇关于调试器跳过行-不知道为什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文