Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / February 2005

Tip: Looking for answers? Try searching our database.

Problem with retrieving documents for sequence points

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Oleg Stepanov - 22 Feb 2005 17:42 GMT
Hi all,

  I got some troubles retrieving documents for sequence points in call
to ISymUnmanagedMethod::GetSequencePoints. It returns valid offsets,
lines and columns, but nulls for documents.

  I'm using this API from managed (C#) code via COM Interop. Actually
if  I change type of the docs parameter to IntPtr[] I can see that it
actually fills it with some valid pointers so it might be a marshaling
error.

WBR, Oleg Stepanov
"Jonathan Keljo [MS]" - 22 Feb 2005 21:56 GMT
Hi Oleg,
    It does indeed sound like a marshalling issue. You should make sure
that the interface you've defined for ISymUnmanagedDocument is correctly
defined.

    You can also just use the managed symbol store wrappers defined in
System.Diagnostics.SymbolStore (reference ISymWrapper.dll).

Jonathan

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Date: Tue, 22 Feb 2005 20:42:25 +0300
| From: Oleg Stepanov <oleg.stepanov@jetbrains.com>
[quoted text clipped - 9 lines]
| Lines: 1        
| Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP1
4.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.dotnet.framework.clr:12966
| X-Tomcat-NG: microsoft.public.dotnet.framework.clr
[quoted text clipped - 11 lines]
|
| WBR, Oleg Stepanov

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.