Hello World Program In Visual Studio and Debugging

Slides:



Advertisements
Similar presentations
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
Advertisements

Debugging: Catching Bugs ( II ) Ying Wu Electrical & Computer Engineering Northwestern University ECE230 Lectures Series.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
 Knowledge and use of tools and resources in a system: standard libraries, system calls, debuggers, the shell environment, system programs and scripting.
Computer Programming and Basic Software Engineering 4. Basic Software Engineering 1 Writing a Good Program 4. Basic Software Engineering.
Trying to like a boss… REVERSE ENGINEERING. WHAT EVEN IS… REVERSE ENGINEERING?? Reverse engineering is the process of disassembling and analyzing a particular.
Creating and Running Your First C# Program Svetlin Nakov Telerik Corporation
Debugging applications, using properties Jim Warren – COMPSCI 280 S Enterprise Software Development.
C/C++ Tools & Methodology demonstration He Zongjian School of Software Engineering Tongji University.
1 ENERGY 211 / CME 211 Lecture 13 October 20, 2008.
Developing C/C++ applications with the Eclipse CDT David Gallardo.
1.1 Introduction to Programming academy.zariba.com 1.
1 Debugging: Catching Bugs ( II ) Ying Wu Electrical Engineering & Computer Science Northwestern University EECS 230 Lectures.
VB – Debugging Tools Appendix D. Why do we need debugging? Every program has errors, and the process of finding these errors is debugging Types of errors.
FireBug. What is Firebug?  Firebug is a powerful tool that allows you to edit HTML, CSS and view the coding behind any website: CSS, HTML, DOM and JavaScript.
CSE 232: C++ Programming in Visual Studio Graphical Development Environments for C++ Eclipse –Widely available open-source debugging environment Available.
Debugging Visual Basic.NET Programs ► ► Use debugging tools ► ► Set breakpoints and correct mistakes. ► ► Use a Watch and Local window to examine variables.
Debugging Xin Tong. GDB GNU Project debugger Allows you to see what is going on `inside' another program while it executes or crashed. (Faster than printing.
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
Debuggers in Python. The Debugger Every programming IDE has a tool called a debugger. This application does NOT locate or fix your bugs for you! It slows.
Debugging. Outline Announcements: –HW II due Fridayl db.
Disclaimer The Content, Demonstration, Source Code and Programs presented here is "AS IS" without any warranty or conditions.
Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)
1First BlueJ Day, Houston, Texas, 1st March 2006 Debugging in BlueJ Davin McCall.
School of Computer Science & Information Technology G6DICP - Lecture 6 Errors, bugs and debugging.
Debugging 1/6/2016. Debugging 1/6/2016 Debugging  Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a program.
5.01 Understand Different Types of Programming Errors
By Anand George SourceLens.org Copyright. All rights reserved. Content Owner - Meera R (meera at sourcelens.org)
17/02/2016S. Ponce / EP-LBC1 Debugging Under Linux Sebastien Ponce Friday, 8 March 2002.
By Anand George SourceLens.org Copyright. All rights reserved. Content Owner - Meera R (meera at sourcelens.org)
By Anand George SourceLens.org Copyright. All rights reserved. Content Owner - Meera R (meera at sourcelens.org)
By Anand George SourceLens.org Copyright. All rights reserved. Content Owner - Meera R (meera at sourcelens.org)
COMPUTER PROGRAMMING I SUMMER Understand Different Types of Programming Errors.
Debuggers. Errors in Computer Code Errors in computer programs are commonly known as bugs. Three types of errors in computer programs –Syntax errors –Runtime.
1/21/2018 6:52 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Chapter 2: The Visual Studio .NET Development Environment
5.01 Understand Different Types of Programming Errors
Static and dynamic analysis of binaries
Dynamic Analysis ddaa.
Computer Programming I
Software Design and Development
CE-105 Spring 2007 Engr. Faisal ur Rehman
Testing Key Revision Points.
Using Visual Studio with C#
CS360 Windows Programming
HP C/C++ Remote developer plug-in for Eclipse
Lecturer: Mukhtar Mohamed Ali “Hakaale”
5.01 Understand Different Types of Programming Errors
Windows 8 & Phone 8 App Development suresh M 11/14/2018
Debuggers.
Visual Studio Principal Program Manager.
Testing, debugging, and using support libraries
Lecture 1. Program Surgery
Microsoft Connect /23/ :38 AM
Debugging Visual Basic Programs
IDE’s and Debugging.
Debug Tools (GDB+DDD) on Andes platform
Visual Studio Tooling Developer’s Guide to Windows 10
Code Composer Essentials 3.0
0. Overview of 2-Day Academic .NET Workshop
5/6/2019 7:40 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Troubleshooting Compiler Errors
Hello World C By Anand George.
Introduction to Windbg
Chapter 15 Debugging.
Functions By Anand George.
Introduction to Windbg – Part2 Symbols
Kernel Debugging with VMplayer and Windbg
Modern Collections Classes & Generics
Just Enough SSIS Scripting to be Dangerous.
Presentation transcript:

Hello World Program In Visual Studio and Debugging by Anand George

Steps Visual Studio Express Installation New project Creation. http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express New project Creation. Creating program Compile Run. Debug the created application.

Demo

Debugging Freezing the execution of the program and looking at the variables and memory in general. Will be able to execute the program line by line an see the state changes of variable ( memory ) while each line is executed. Also can be used to understand the flow of a complicated program. Even to reverse engineer a program which don’t have source code.

Debugging (cont) Strongly recommended that we use a good debugger like Windbg, Visual Studio integrated debugger or gdb ( linux ) from the day1 of your programming. Help the better understanding of language aspects like pointers, functions etc. Also a very important tool for white box testing to check the states and flow of logic. As useful as the OS, complier itself when it comes to programming.

Break Point Defines when and where to freeze the program. Normally F9 key in visual studio will give a code access break point. Very useful in fixing and understanding flow of the application .

Debugging with Visual Studio Watch window shows the variable values. F9 to break point. Call stack window. Memory Window. Disassembly window.

Debugging with Visual Studio App - Find the sum of the elements in an array of 10 elements. Develop, build run and debug the application.

Thank you