Problem while single stepping through code

  • Thread starter Thread starter RD
  • Start date Start date
R

RD

In the development environment I occasionaly get a message "There is no code
associated with this location" as I single step through the code using the
F8 key. Typically it occurs when I try to open a connection to my Sql server
database. The code works most of the time and it's always the same
connection string, sometimes it works and sometimes I get this message. Any
one have an idea what might be happening here.

Thanks for any help,
Bob
 
Sounds like an exception is being thrown within the assembly, I used to get
that.

try wrapping a try catch around your statment and see if it drops down to
the catch clause. That should take care of it.

try
mysqlconn.open()
catch ex as exception
messagebox.show(ex.message)
end try
 
I got errors like that before, it said something about debugging symbols
weren't installed. Can't remember how I fixed it either. Not much help but
it may provide you with another string to search Google with?
 
Back
Top