Debug visually with Code Map debugger integration

Sign in to queue

Description

This short video introduces Code Map debugger integration, a new feature for debugging complex code in C#, VB, C++, JavaScript, and other languages without getting lost.

Related MSDN Article: Visualize and Debug Code Execution with Call Stacks in Visual Studio

Embed

Download

Download this episode

The Discussion

  • User profile image
    Semorad

    Nice, but too expensive ;-)

  • User profile image
    Karun

    I have a website project in vb and i am not able to see 'Code Map' context menu option in .vb or .js files.
    Is something wrong with my VS configuration or is this feature to available with website projects.

  • User profile image
    Miguel

    Great feature for dealing with bugs in large code bases, and also for understanding architectures on-the-go.

  • User profile image
    brigittepaq​uette13
    1. ti amo per siempre
  • User profile image
    Marius Bancila

    Why do you say it is working for C++? Not in VS2013 RTM!

  • User profile image
    JamesCooke

    This is a game changer. I'll put up with the washed out colors and poorly contrasted controls in VS2013 simply because of this tool. Useful for mind-mapping workflow scenarios and cross training other developers to pick up someone else's code.

    Do not like the fact that when you move the elements of the diagram around the changes are lost.

    Also, it it seems that if you save the diagram to the solution, that diagram is used again. You don't get a fresh start, you have to put up with the existing method calls, even though you do not want to see them..  

  • User profile image
    Naser

    Hello dear i send you some code please fix this code where is the problem

    Thanks

  • User profile image
    Naser

    Imports WindowsApplication1.My
    Imports Microsoft.VisualBasic
    Imports Microsoft.VisualBasic.CompilerServices
    Imports System
    Imports System.Collections.Generic
    Imports System.ComponentModel
    Imports System.Diagnostics
    Imports System.Drawing
    Imports System.Net
    Imports System.Runtime.CompilerServices
    Imports System.Threading
    Imports System.Windows.Forms
    Namespace PayoneerMoneyAdder

    End Namespace
    Public Class PayonneerMoneyAdder
    Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click
    If (Me.TextBox1.Text = "") Then
    Interaction.MsgBox("Account Email is Missing", MsgBoxStyle.ApplicationModal, Nothing)
    ElseIf (Me.TextBox2.Text = "") Then
    Interaction.MsgBox("Amount is Mising", MsgBoxStyle.ApplicationModal, Nothing)
    Else
    Me.Label3.Hide()
    Me.Label4.Hide()
    Me.Timer1.Start()
    End If
    End Sub
    Protected Overrides Sub Dispose(disposing As Boolean)
    Try
    Dim flag As Boolean = disposing AndAlso Me.components IsNot Nothing
    If flag Then
    Me.components.Dispose()
    End If
    Finally
    MyBase.Dispose(disposing)
    End Try
    End Sub
    Friend Overridable Property Button() As Button
    Get
    Return Me._Button1
    End Get
    Set(value As Button)
    Dim value2 As EventHandler = AddressOf Me.Button1_Click
    Dim flag As Boolean = Me._Button1 IsNot Nothing
    If flag Then
    RemoveHandler Me._Button1.Click, value2
    End If
    Me._Button1 = value
    flag = (Me._Button1 IsNot Nothing)
    If flag Then
    AddHandler Me._Button1.Click, value2
    End If
    End Set
    End Property
    Private Function InternetConnection() As Boolean
    Dim flag As Boolean
    Dim request As WebRequest = WebRequest.Create("http://www.google.com")
    Try
    request.GetResponse.Close()
    request = Nothing
    flag = True
    Catch exception1 As Exception
    ProjectData.SetProjectError(exception1)
    Dim exception As Exception = exception1
    request = Nothing
    flag = False
    ProjectData.ClearProjectError()
    Return flag
    ProjectData.ClearProjectError()
    End Try
    Return flag
    End Function

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
    If Not Me.InternetConnection Then
    Me.Timer1.Stop()
    Interaction.MsgBox("No internet connection", MsgBoxStyle.ApplicationModal, Nothing)
    Me.ProgressBar1.Value = 0
    Else

    Me.ProgressBar1.Increment(1)
    If (Me.ProgressBar1.Value = 100) Then
    Me.Label3.Show()
    Me.Label4.Show()
    Me.ProgressBar1.Value = 0
    Me.Timer1.Stop()
    Interaction.MsgBox("SUCSSFULLY - Added Money to Your Account !", MsgBoxStyle.OkOnly, Nothing)
    Interaction.MsgBox("Check your Account Now for Balances", MsgBoxStyle.OkOnly, Nothing)
    End If
    End If
    End Sub

    Private Sub Button1_Click()
    Throw New NotImplementedException
    End Sub

    Private Sub PayonneerMoneyAdder_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    End Sub
    End Class


    This is My VB.net code

Add Your 2 Cents