Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

About debug UI of visual studio

alt text

When an exeption dialog pops up,which line actually has/triggers the problem, the line hinted by green arrow or the line above?

Is there any official reference for this corner case?

UPDATE

So far it still seems that both are possible.Can anyone come up with a final conclusion?

like image 256
justnobody Avatar asked Oct 11 '10 04:10

justnobody


People also ask

What is debug in Visual Studio?

A debugger is a very specialized developer tool that attaches to your running app and allows you to inspect your code. In the debugging documentation for Visual Studio, this is typically what we mean when we say "debugging".

How do I debug the UI code in Visual Studio?

To bring up the Run and Debug view, select the Run and Debug icon in the Activity Bar on the side of VS Code. You can also use the keyboard shortcut Ctrl+Shift+D. The Run and Debug view displays all information related to running and debugging and has a top bar with debugging commands and configuration settings.

What is visual debug?

Visual debugging provides the Visual Debug view for you to interact with your COBOL or PL/I debug session. With this view, you can visualize the stack trace, set breakpoints, and run to a selected call path. Notes: Visual debugging is not available in IBM® Debug for z Systems™.

What is Visual Studio UI?

At its heart, Visual Studio Code is a code editor. Like many other code editors, VS Code adopts a common user interface and layout of an explorer on the left, showing all of the files and folders you have access to, and an editor on the right, showing the content of the files you have opened.


1 Answers

If you go to assembly window you will see exactly at what machine instruction the code is. If it is immediately after some call instruction then the exception happened inside that call.

like image 127
Dialecticus Avatar answered Oct 12 '22 01:10

Dialecticus