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

  • Home
  • SEARCH
  • 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 9198281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:15:04+00:00 2026-06-17T22:15:04+00:00

Description I have a bit of a problem with my project, that being said

  • 0

Description

I have a bit of a problem with my project, that being said – I cannot debug the dll (written in MASM) loaded to a program written in C#. I do leave breakpoints in various places of the procedure in dll but nothing happens. Program execution just goes through the procedure without stopping.

I use Visual Studio 2010 and have the following structure of the solution:

Solution
|
+--+ the masm dll project
|  |
|  +- *.asm 
|  |
|  +- *.def
|
+--+ C# dll library poject 
|  
+--+ my C# project

Therefore I have access to the source code of the dll, and its project is within the same solution as invoking project.

However when I set the breakpoint within the C# library project it works.

And still I cannot debug this bugger. Can anyone point me towards the solution of the problem?

Solution

Given by Camford

All you have to do in order to be able to debug unmanaged dll ( not only masm, nasm, etc. ) is to enable unamanged code debugging, that is done (in VS2010) by:

To enable debugging of unmanaged code

  1. With a project selected in Solution Explorer, on the Project menu, click Properties.
  2. Click the Debug tab.
  3. Select the Enable unmanaged code debugging check box.

(from here)

  • 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-17T22:15:05+00:00Added an answer on June 17, 2026 at 10:15 pm

    You need to enable unmanaged code debugging in your c# project’s Debug setting. If that still doesn’t work, since you have the asm code, you can insert int 3 in your asm as a hardcoded break instruction, and rebuild your dll.

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

Sidebar

Related Questions

I have a bit of a strange problem with MySQL that I've never seen
Description: I have a problem regarding DataGridView . I need to show a Client_Name
I have an NStextView that loads a description from a JSON source. The NSTextView
I have a product table where the description column is fulltext indexed. The problem
I'm running into a bit of a problem with my WCF service that is
Given : I have a bit of a pop up view that I put
I'm having a little bit of problem with my derived class. Basically I have
I have a problem with a web service that will not run anymore. It
I have a bit of a problem. I'm trying to add,remove and edit items
I have run into a bit of a problem, well not sure if it

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.