Browse by Tags

All Tags » Debugging (RSS)
As you are debugging your application, you may want to set a break point further down the call stack. One way to do this is to double-click on the row in the Call Stack to navigate to the code, and then insert a breakpoint. But there is an easier way...
The complexities of today's software are better managed used techniques such as layered architectures, object-oriented programming, separation of concerns, MVC, and MVVM to name a few. All of these techniques require that your application be separated...
It is always useful to override the ToString method on each your classes. This is especially true when using the Visual Studio debugger. This example uses the list created in this prior post . The list is returned from a function and the breakpoint is...
4 comment(s)
Filed under: , , , ,
Application failures will occur. The user could perform a sequence of operations or enter a value that you don’t expect, the connectivity to your database could be interrupted, the code could have a logic error, or many other possibilities. The .NET Framework...
10 comment(s)
Filed under: , , , ,
There are situations where you may want to know who called a particular method in your application. Maybe you want to log it or use the information for debugging purposes. Whatever the reason, you can get information on the call stack using the StackTrace...
1 comment(s)
Filed under: , , , ,
Being a physics major in college, I am familiar with the Heisenberg Uncertainty Principle which basically states that in quantum physics, some properties (like position and momentum) cannot both be known to any precision. Though not technically accurate...
1 comment(s)
Filed under: , , , ,
This post details how to use the DataTable Visualizer. The DataTable Visualizer is a debugging tool that allows you to see and edit the contents of a DataTable while you are debugging. NOTE: There is also a DataSet Visualizer that works the same way for...