question

kvsr-6796 avatar image
0 Votes"
kvsr-6796 asked DylanZhu-MSFT answered

How to debug a particular .vb file in visual studio 2010

I am a beginner for VB.Net. I have written some basic codes and my project have different files like module1.vb, module2.vb, and so on.
When I start debug, it is debugging from module1 itself.
But I want to debug a particular file (ex: module5.vb) only.
I am using Microsoft visual studio 2010.
Please suggest me how to proceed?

Thanks

vs-debugging
5 |1600 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 kvsr,

You can try to follow these steps to modify it:
1. Right-click the project in solution explorer
2. Click the Properties
3. In "Application" tab, you can switch the "Startup object"
88397-image.png

By the way, since the visual studio 2010 is too old, and it has been out of support. We suggest you use visual studio 2019 community, and it is free for individual developer.

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 (44.4 KiB)
5 |1600 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.