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 8529639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:04:40+00:00 2026-06-11T09:04:40+00:00

Possible Duplicate: What is a good approach to building a debugger for a .NET

  • 0

Possible Duplicate:
What is a good approach to building a debugger for a .NET language?

I have a Lisp-style language that I want to build a debugger for. My language is here – https://github.com/bryanedds/aml .

I am likely going to compile it down to IL. If it’s helpful for writing the debugger, I’ll write the compiler first. However, I am wondering what are some approaches for building the debugger. I looked at building it for Visual Studio, but that’s difficult as it seems to require me to interface with VS via COM, meaning I need to write the debugger in C or C++ (UGH!). I’m hoping that Visual Studio Debugger development has a better story that I’m not aware of.

Looking at other threads on .NET debugging on SO, I see that IL includes source file coordinates, so I wonder if that means that I don’t need to write as much COM code as one would initially suspect (EG – step debugging works out of the box without any COM code so long as the compiled IL has source file coordinates).

Alternatively, I could look at using another IDE that maybe has a happier path for .NET language debugging. There is Eclipse, but it doesn’t seem to have any particular support for .NET language debugging.

Perhaps the IDE with the best debugger building story might be MonoDevelop. Of course, I’d need it to work with MS .NET instead of just Mono. However, it’s documentation is rather bare. Anyone have experience building a debugger there?

So, as you can see, I’m rather lost in all this. I just need some ways to build a simple debugger with breakpoints and step debugging with variable inspection for my .NET language. I’d prefer to write most of the code in F# as that’s what my language is written in.

  • 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-06-11T09:04:41+00:00Added an answer on June 11, 2026 at 9:04 am

    If you’re going to use System.Reflection.Emit to compile your language to IL, then it should be quite easy to also generate debug information with your code (pdb file) and Visual Studio will pick that up automatically (so you do not have to write a debugger).

    • Emitting Symbolic Information with Reflection Emit on MSDN has some information on this.

    • You can also take a look at TickSpec source code, which is written in F# and uses this to enable debugging in files that describe the testing scenario (if you look at the video, on the home page, you can see that he can place breakpoints in the text file).

    I don’t think that writing a debugger for a .NET language is what you need – there is already a pretty good debugger in Visual Studio, so you just need to enable your language to use it.

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

Sidebar

Related Questions

Possible Duplicate: Java : Is there a good natural language processing library Can anybody
Possible Duplicate: What are views good for? hi, i have a doubt what is
Possible Duplicate: What Are Some Good .NET Profilers? I am on the lookout for
Possible Duplicate: What is a good regular expression to match a URL? I have
Possible Duplicate: Good GetHashCode() override for List of Foo objects I have List of
Possible Duplicate: Does anyone have a good Proper Case algorithm I am currently in
Possible Duplicate: Is there a good way to have a Map<String, ?> get and
Possible Duplicate: Anyone know of a good PHP ORM that DOES NOT use PDO?
Possible Duplicate: How do you implement a good profanity filter? I have to take
Possible Duplicate: What Are Some Good .NET Profilers? I am really not sure if

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.