2 years ago

#42607

test-img

sansui1

C# Visual studio code debug in live & trace it step-by step WPF

I would like to learn and know, how can I examine my WPF application in Visual Studio 2019 in running / debugging mode. Exactly what I expect: how can I trace my code what step is executed in background if the application running( communicate with port; modifies string and so on...).

I would like to see what happening if I click on the button and it calls methods and those again do something . Like visually trace the behind code.

I used the breakpoints but tell the truth it is not that I am looking for. I would like if the VS can indicate what line is executed e.g. if the textbox changed the code where continues and soo on. I think this way is existing. :)

The purpose of it to find a intermitted failure that I have made (maybe) even if it is not appears in every case and the VS not drop for it an exception. But the business requirement is not allowed that hidden failure/ unexpected slow processing, and I would like to find where it got stuck.

Someone can suggest what I have to use? In VS I also tried the in Debug menu-->Calls, Thread, Task window but these not give me that I want.

c#

wpf

visual-studio-debugging

0 Answers

Your Answer

Accepted video resources