472,145 Members | 1,849 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

stepping through code that is late bound.

how do I do this? I am certain my Visual Studio .NET solution allowed me to
do this before but I don't know how the build/debug settings were
configured.

In order to get around an unavoidable circular reference constraint,
Activator.CreateInstance was employed in the project.

But now when I run through in debug mode, breakpoints are ignored in the
late bound object. If I were the late bound object I would probably tell the
runtime to stick with its early-bound components and not to bother me. But I
may not be able to do so if some reflection mechanisms are keeping me on a
short leash.

thx, -greg

Nov 16 '05 #1
2 4191
i know it's the obvious one, but make sure your dll's are all debug mode
with the latest source you have.
"hazz" <ha**@sonic.net> wrote in message
news:OQ****************@TK2MSFTNGP10.phx.gbl...
how do I do this? I am certain my Visual Studio .NET solution allowed me to do this before but I don't know how the build/debug settings were
configured.

In order to get around an unavoidable circular reference constraint,
Activator.CreateInstance was employed in the project.

But now when I run through in debug mode, breakpoints are ignored in the
late bound object. If I were the late bound object I would probably tell the runtime to stick with its early-bound components and not to bother me. But I may not be able to do so if some reflection mechanisms are keeping me on a
short leash.

thx, -greg

Nov 16 '05 #2
SP

"hazz" <ha**@sonic.net> wrote in message
news:OQ****************@TK2MSFTNGP10.phx.gbl...
how do I do this? I am certain my Visual Studio .NET solution allowed me to do this before but I don't know how the build/debug settings were
configured.

In order to get around an unavoidable circular reference constraint,
Activator.CreateInstance was employed in the project.

But now when I run through in debug mode, breakpoints are ignored in the
late bound object. If I were the late bound object I would probably tell the runtime to stick with its early-bound components and not to bother me. But I may not be able to do so if some reflection mechanisms are keeping me on a
short leash.


I had the same scenario happen to me after removing the reference from my
GUI project while testing. If there is not a reference to the code that
Activator.CreateInstance is calling then you will not be able to debug.

SP
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Olaf Meding | last post: by
9 posts views Thread by John Smith | last post: by
14 posts views Thread by Siv | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.