Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 16th, 2005, 09:21 AM
hazz
Guest
 
Posts: n/a
Default 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



  #2  
Old November 16th, 2005, 09:23 AM
Daniel Bass
Guest
 
Posts: n/a
Default Re: stepping through code that is late bound.

i know it's the obvious one, but make sure your dll's are all debug mode
with the latest source you have.


"hazz" <hazz@sonic.net> wrote in message
news:OQqPG%23meEHA.2044@TK2MSFTNGP10.phx.gbl...[color=blue]
> how do I do this? I am certain my Visual Studio .NET solution allowed me[/color]
to[color=blue]
> 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[/color]
the[color=blue]
> runtime to stick with its early-bound components and not to bother me. But[/color]
I[color=blue]
> may not be able to do so if some reflection mechanisms are keeping me on a
> short leash.
>
> thx, -greg
>
>
>[/color]


  #3  
Old November 16th, 2005, 09:29 AM
SP
Guest
 
Posts: n/a
Default Re: stepping through code that is late bound.


"hazz" <hazz@sonic.net> wrote in message
news:OQqPG%23meEHA.2044@TK2MSFTNGP10.phx.gbl...[color=blue]
> how do I do this? I am certain my Visual Studio .NET solution allowed me[/color]
to[color=blue]
> 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[/color]
the[color=blue]
> runtime to stick with its early-bound components and not to bother me. But[/color]
I[color=blue]
> may not be able to do so if some reflection mechanisms are keeping me on a
> short leash.[/color]

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


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.