![]() I created some other groups for my prior breakpoints. You can also simply drag and drop breakpoints into the desired group. I added all the breakpoints I need to debug my current issue in the “Basket” Group using the “Add to Breakpoint Group” right-click option. ![]() You can create a new breakpoint group using the “New” dropdown in the breakpoints window or using the Debug > New Breakpoint menu on the top. With this feature, I created a Breakpoint Group named “Basket”. Now let’s see how I can simplify this scenario using Breakpoint Groups. The only solution I had was to disable all of the breakpoints I didn’t need individually, which was a tedious process. Once I started debugging and stepping through the code to investigate the new basket/cart scenario, all of my other breakpoints started triggering as well. I also had a lot of breakpoints from my last session that I may need later for different scenarios, so I ended up with this long list of breakpoints. To investigate, I added several breakpoints in my BasketViewModelService.cs file. While working on the application, I discovered that the basket/cart feature is not showing all the items that users have added. NET web application where users can browse through merchandise and purchase items they like. T his organization makes it easy to switch between different debugging scenarios, test different theories, and track the results of each debugging session. Download Visual Studio 2022 Preview Breakpoint Groupsīreakpoint groups can simplify and organize the debugging process by allowing you to create separate breakpoint groups that correspond to distinct aspects of the application, such as individual functions, modules, or even projects.
0 Comments
Leave a Reply. |