Debugging Techniques - Newbie to Visual Studio

Posted on 2012-09-20
Last Modified: 2012-09-20
Hello All,

I am used to the VBA editor debugging in office application like visual basic programming... Stepping through the code lines and debugging line by line is something I do in VBA editor. But I am scared of the Visual Studio  - Can someone outline some techniques of debugging in visual studio  - it looks some complex to me – this is coming from the Visual Studio newbie…so please excuse….. Also I am trying to learn from Scratch, so how do I use some common tricks to debug my code in Visual studio? Basic things that I would need to understand how my code executes and things like that….

Thank you
Question by:Rayne
    LVL 9

    Assisted Solution

    Visual Studio still offer you the possibility the run the code line by line.

    If you have the professional edition, you can also build Test case to test class by class (or a combination of them).

    Still old good methods :
    - MessageBox.Show at some strategic points.
    - Writing files at some strategic points.

    Author Comment

    Looks like we are getting somewhere :) - those looks very good - any other tricks that will help me ?

    Thank you!!

    Author Comment

    or could you direct me to a EE answer that has a debugging tricks in Visual Studio - I was not able to find any far
    LVL 9

    Accepted Solution


    Author Comment

    Perfect, that was I have a start

    Thank you all

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
    How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from ( Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
    The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now