Re: Stepping into a referenced assembly

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I could have sworn I had posted this earlier but I don't see my post today
so I'll say thank you again to both Richard and Bob for responding to my
request. The solved my dumb little problem. For some reason, I guess the dll
had gotten compiled into a release mode so I fixed it and was good to go
again.

Steve


"Steve Long" <Steve_Noneya@xxxxxxxxxx> wrote in message
news:e62hX3GQFHA.3076@xxxxxxxxxxxxxxxxxxxxxxx
> Hello,
> can anybody tell me what the trick is to getting VB.NET 2003 to step into
> the code of an assembly that I have referenced in my project?
> For instance, I have these two assemblies, both written by me in VB.NET
> 2003, and both referenced in my project. I have some code that looks like
> the following:
>
> With g_toc
> .RefreshLegend = False
> .ShapePath = g_RegCtl.Reg.AvShapes
> .AvDataPath = g_RegCtl.Reg.AvData
> End With
>
> Both g_toc and g_RegCtl are instance variables created from the assemblies
> that I have reference and when I step through the code above, VB will load
> the class g_RegCtl.Reg into the debugger and step into AvShapes. Likewise
> for AvData, but it won't load the class for g_toc from that assembly so I
> can step into g_toc.ShapePath for instance.
> What gives????
>
> Thanks in advance for any smart ones out there that can shed light on this
> for me.
>
> Steve
>
>


.



Relevant Pages

  • RE: Dynamic Load Assembly
    ... > NOT reference B in A. ... > I dynamically load B and Invoke a Method: ... > explicity Unload the AppDomain to free resources. ... Is it because, using the Load context, since assemblies ...
    (microsoft.public.dotnet.framework.clr)
  • Re: ASP.NET 2.0 (beta) and Reflection
    ... I'm not sure if there's an easier way to get a reference to the assembly, ... but once you do you'll want to load the Constructor info and hang on to it ... By caching the ConstructorInfo you can load the assembly quickly. ... since there could be tons of system assemblies loaded. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Loading Assemblies from several directories.
    ... an application needs to load several users ... load it's own code (which reference ... to a 3rd party dll) and then execute its code, ... I /can/ get all those assemblies to run if I use Assembly.LoadFrom, ...
    (microsoft.public.dotnet.framework)
  • Re: Dynamic Load Assembly
    ... causes a reference to the loaded assembly to be returned to the calling ... completely within the context of the second appdomain. ... > I dynamically load B and Invoke a Method: ... Is it because, using the Load context, since assemblies ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Make a DLL in C# for FoxPro
    ... Interop from managed -> COM is a different story, here we are talking about new developments, and here you have probably accepted the larger memory footprint :-) ... The first is handled by the DLL/C++ code I posted which loads the .NET runtime and allows loading of assemblies and types. ... If you're not adverse to registering components you can completely skip this step and just use the .NET wrapper component from FoxPro with CreateObject. ... *** Load Static Method ...
    (microsoft.public.dotnet.languages.csharp)