question

IsmaelMoqueteEduardo-7245 avatar image
0 Votes"
IsmaelMoqueteEduardo-7245 asked ·

My problem is that when I need to debug a program in C # and when I press the button that should be to debug it asks me to associate the program with something, however all I want is to debug the program

77813-asociar.png


vs-debugging
asociar.png (61.2 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DylanZhu-MSFT avatar image
0 Votes"
DylanZhu-MSFT answered ·

Hi IsmaelMoqueteEduardo,

VS debugger needs to call process to debug your code file. And from your screenshot, you can follow below steps to debug it:

  1. Create a console application(C#)
    78113-image.png

  2. Right-Click the project to build your project
    78085-image.png

  3. Press "Start" button to debug
    78086-image.png

Best Regards,
Dylan


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image.png (32.9 KiB)
image.png (11.4 KiB)
image.png (7.3 KiB)
· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.