Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 280877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:09:21+00:00 2026-05-12T05:09:21+00:00

The .NET Framework has unmanaged debugging and profiling APIs that I assume people/companies are

  • 0

The .NET Framework has unmanaged debugging and profiling APIs that I assume people/companies are familiar with. If someone was implementing debugger and profiler support for a new CLI runtime¹:

  • What would be the pros/cons of basic their operation on these existing APIs?
  • These APIs retain backward compatibility² by incrementing interface extension numbers to indicate support for later features. I would have the opportunity to combine these interfaces and remove deprecated methods since there is no “backwards” to be compatible with. Would that be a good idea? One point of interest here is this would not remove source code compatibility with existing debuggers because my system would require the debugger be implemented in managed code & managed API, and the existing ones are written in unmanaged code.
  • Are there other documented debugging/profiling APIs available? Is their feature set anywhere near as complete as the ones mentioned above?

¹ I like working advanced, long-term projects at home to keep me learning and thinking about solutions to large problems. I know there are others available, but I want to work on one to really see what’s involved, and I’m already a decent way into it.

² I can’t find a link describing this, but it’s extensively used in the Visual Studio API as well. I believe I saw it in a “COM interface naming guidelines” document? You see it as the ICorDebugClass2 interface showing up to extend ICorDebugClass interface without altering the original.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:09:21+00:00Added an answer on May 12, 2026 at 5:09 am

    I’m working with the profiling API so most of my comments are about the CLR profiler.
    The MSDN documentation is quit bad.
    You get a general description of the what a method or a class is doing and a short description of the method arguments that’s it. No examples.
    If you are lucky you can find some blog about your problem.

    Some links that can be helpful with the profiler API are:
    This MSDN magazine artical – old but a good starting point.
    David Borman’s blog – Does not update very often but the information worth gold 🙂
    The CLR team blog – Update few times a month.
    Rotor The CLR source code
    And you can always try to mail the CLR team if you get stuck they actually been very helpful when we needed their help.

    About the compatibility issues:
    Not sure I understand what you are asking here, what I do know is this:
    If you don’t have to support previous versions go to the latest CLR 4.
    CLR 4 includes some major changes (few instances of the CLR can run side by side in the same process) read this post and decide how you should deal with it.

    my system would require the debugger be implemented in managed code & managed API, and the existing ones are written in unmanaged code.

    As far as I know you can download the source code of managed wrapper API for the debugger API. (Can’t find the link right now)

    Hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Microsoft claims that the .Net 3.5 framework has many speed improvements over 2.0. Is
Suppose I have an MSI, that has .NET Framework as a pre-requisite. I know
Is there a way in the .NET framework to validate that a process has
DUPE: Any Yahoo YUI validation framework that I can implement in asp.net MVC? Has
I'm basically curious if any Microsoft code (.NET Framework) has any files that show
I'm maintaining a Windows CE app built with the .NET Framework that has about
Other than running it on a computer that only has .NET Framework Version 3.5,
The .Net framework has an Array.Sort overload that allows one to specify the starting
I have a .NET compact framework program that has my CE device open a
Has the introduction of the .net framework made raw programming in COM and DCOM

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.