2
How to debug in C# taking as reference the simple form of PHP that is usually used var_dump
or print_r
?
I have a C# object but I don’t know how to know what’s in its structure.
2
How to debug in C# taking as reference the simple form of PHP that is usually used var_dump
or print_r
?
I have a C# object but I don’t know how to know what’s in its structure.
2
The first 3 options shown here is necessary to add a break point
in your code to view the structure of objeto
:
1. After the
IDE
pause the code onBreak Point
, click on the tabImmediate Windows
, typhoon?
and theobjeto/variável
, etc and press ENTER
2. Click on the tab
Local
and navigate theobjetos/variáveis,etc
.
3.
Mouse Over
about the object
4. The tab
Output
shows, among other information, the result of the commandWriteLine
, ex:Debug.WriteLine(objeto.propriedade);
, in this case it is not necessaryBreak Point
Browser other questions tagged c# debug
You are not signed in. Login or sign up in order to post.