Can't Debug COM Interface



Hello NG,

I've trouble to to debug a vb.net application implementing a com interface.

<ComClass(ComClass2.ClassId, ComClass2.InterfaceId, ComClass2.EventsId)> _
Public Class ComClass2

..
Public Sub New()
...
End Sub

Public Sub OnCreate(ByVal bstrServerHost As String, ByVal ushServerPort As
System.UInt16)
...
End Sub

Public Sub OnDestroy()
...
End Sub

Public Sub NewInteraction(ByVal bstrInteractionID As String)
...
End Sub

Public Sub OnConnectionResumed()
...
End Sub

Public Sub OnConnectionLost()

End Sub

Public Sub OnACLShutdown()
..
End Sub

Public Sub OnIPPEvent(ByVal ICC50Event As CC50CclLib.ICC50Event)
...
End Sub
End Class

as soon as I start the application for debugging, all breakpoints set to one
of the methods will get a questionmark saying that there are no symbols
loaded for the document. On the vb.net project properties I've activated
everything the is necassary to debug the project (generate debug info). The
only thing that does not include debug information is the dll that is
providing the com interface. If I'm implementing the interface using native
c++ /mfc, i've no problem to step into. What's different with vb.net using
com interop?

Thanks and Regards

Markus


.



Relevant Pages

  • Re: Cant debug COM interface
    ... before the host application I'm using does not include debug symbols. ... >> Public Sub OnCreate(ByVal bstrServerHost As String, ... >> providing the com interface. ...
    (microsoft.public.dotnet.framework.interop)
  • RE: Cant debug COM interface
    ... Hi, Markus, ... > I've trouble to to debug a vb.net application implementing a com interface. ... > Public Sub OnCreate(ByVal bstrServerHost As String, ...
    (microsoft.public.dotnet.framework.interop)
  • Cant debug COM interface
    ... I've trouble to to debug a vb.net application implementing a com interface. ... Public Sub OnCreate(ByVal bstrServerHost As String, ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Why use Interfaces?
    ... The use of an interface here was driven by several design ... classes can expose the same functionality but with ... Public Sub Main ... Public Class MyArrayList: Inherits CollectionBase ...
    (microsoft.public.dotnet.languages.vb)
  • Re: multiplatform (pocketPC & desktopPC) (Daniel !!)
    ... Friend Versione As String ... Public Sub GetMyConnectionPalmare() ... Dim errorMessages As String ... Private Function GetDS_Desktop(ByVal SQL As String) As DataSet ...
    (microsoft.public.dotnet.framework.compactframework)