Debugging tips and tricks

Slides:



Advertisements
Similar presentations
ACT! “Web” Plugins ACC Webinar (Part 1of 2) Brian Mowka and Jamie Aurand December 2010.
Advertisements

Using VHDs in Remediation Workshops. Overview Advantages Simple and robust setup Use prepared VHDs Easy to reset (copy VHD file) Easy to switch between.
02 | New Features for Web Developers Susan Ibach| Technical Evangelist Christopher Harrison | Head Geek.
Module 4: Deploying and Managing BizTalk Applications
Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies.
Debugging Production SharePoint Applications Wouter van Vugt.
Programming in the Office 2003 Environment Corinne Hoisington.
Wade Wegner Windows Azure Technical Evangelist Microsoft Corporation Real World Windows Azure Development – Tips & Tricks.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
DEV450 Visual Studio: Best Practices For Debugging Managed Applications Habib Heydarian Scott Nonnenberg Program Managers Microsoft Corporation.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Debugging Cluster Programs using symbolic debuggers.
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
Refine Author business logic Customize screen layouts / branding Define custom queries Extend Explore ecosystem components Create custom controls.
CAIL Studio NonStop SOA Integration and Non- Intrusive Application Customization - Featuring - HTML access, Web Services, Screen Aggregation, and Automation.
Basic Developer Knowledge That Every SharePoint Admin Must Have Randy Williams, MVP MOSS Synergy Corporate Technologies
DEV339 Best Practices for Debugging Visual Studio.NET Applications Keith Pleas Architect, Guided Design
TotalView Debugging Tool Presentation Josip Jakić
Remote Desktop Services in Windows Server 2008 R2.
Server Control Tips & Tricks Presented by: Patrick Hynds Microsoft Regional Director CriticalSites CTO MCSD, MCSE+I, MCDBA, MCSA, MCP+Site Builder, MCT.
Delivered as a Service – VS Online -> Azure Portal Preview VSIX integration with VS 2013 Reduce mean time to detect problems Reduce mean time to resolve.
Module 6: Debugging a Windows CE Image.  Overview Debug Zones IDE Debug Setup IDE Debug Commands Platform Builder Integrated Kernel Debugger Other Debugging.
Office Business Applications Workshop Defining Business Process and Workflows.
Web Automation Testing With Selenium By Rajesh Kanade.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview How to create a first ASP.NET application.
Module 2: Using Microsoft Visual Studio.NET. Overview Overview of Visual Studio.NET Creating an ASP.NET Web Application Project.
Building More Reliable And Better Performing Web Applications With Visual Studio 2005 Team System Gabriel Marius TLN312 Program Manager Microsoft Corporation.
Taking Control of Visual Studio through Extensions and Extensibility Anthony Cangialosi Senior Program Manager Lead Microsoft Corporation DEV311.
DEV396 Windows Forms: No Touch Deployment Tips and Tricks Jamie Cool Program Manager.NET Client Microsoft Corporation.
Connect with life Vedant Kulshreshtha Technology Solutions Professional – SharePoint | Microsoft India
HPCC Mid-Morning Break Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Discovery TotalView Parallel Debugger.
Msdevcon.ru#msdevcon. ИЗ ПЕРВЫХ РУК: ДИАГНОСТИКА ПРИЛОЖЕНИЙ С ПОМОЩЮ ИНСТРУМЕНТОВ VISUAL STUDIO 2012 MAXIM GOLDIN Senior Developer, Microsoft.
Customer and Partner Connections Design and Develop Assess and Certify.
DEV332 Programming for the Middle Tier in Visual Basic.NET Billy Hollis Author / Consultant.
1 Advanced.Net Debugging Using Visual Studio, R# and OzCode IT Week, Summer 2015.
Tips and Tricks for Debugging ASP.NET Web Applications and Services Habib Heydarian TLNL05 Program Manager Microsoft Corporation.
Workload Active directory BizTalk server DHCP DNS Dynamics Exchange server Fax server IIS Lync server RDS SharePoint server SQL System Center Visual.
Custom Authentication Providers For DotNetNuke v5.0 Stan Schultes – Sarasota, FL Florida Community Leader
Agafonov Viacheslav. Objectives: ◦ Understand the new features and improvements in Visual Studio 2010 ◦ Understand useful tips.
Сергей Лутай REFACTORING converts single-tier code into distributed RETARGETING converts MSIL code into code for other virtual.
What's New in Visual Studio 2010 Debugging Brian Peek Senior Consultant, ASPSOFT, Inc. Microsoft MVP - C#
 Wind River Systems, Inc Chapter - 4 CrossWind.
John Cunningham Development Manager Microsoft DTL323.
Improving Your Application with IntelliTrace #ITDevConnections.
Microsoft Office Setup Tech Support. Call for Activate & Install Office.
Ukázková aplikace je ke stažení na wug
Introducing the Microsoft® .NET Framework
1/21/2018 6:52 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
IF-less programming in C#
Microsoft List Schedule April – May 2016
Event Log Cluster service includes event data in the Windows 2000 system log.
Improve production debugging of .NET web applications
Module 0: Introduction Chapter 2: Getting Started
Module 1: Getting Started
DotnetConf 11/14/2018 8:22 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Microsoft Connect /23/ :48 AM
Super Charge Your Debugging in Visual Studio
Optimizations Module #4 of 6.
Web Development in Visual Studio 2017
Office 365 Development.
DEV354 Visual Studio 2005: New Enhancements For Debugging Applications
virtual techdays INDIA │ November 2010
Unit 6 part 6 Test Javascript Test.
Windows Service Applications
Visual Studio Tooling Developer’s Guide to Windows 10
04 | Apps and SharePoint Chris Johnson | SharePoint Guru
Introduction to Windbg – Part2 Symbols
02 | Getting Started with Azure Websites
Plug-In Architecture Pattern
Advanced app and driver debugging
Presentation transcript:

Debugging tips and tricks Jiří Pokorný jiri.pokorny@solarwinds.com

Get Process ID (PID) and its command line Start debugging Get Process ID (PID) and its command line Debug > Start new instance Attach to process/Detach all Start Windows Service (Debugger.Launch)

Process and Thread in debugging Process Window Threads window Call stack per Thread Freeze/Thaw thread Switch to Thread Windows Parallel Watch/Stack

Debugging without source code What is the PDB? Get the pdb from symbol server Symbols cache Use dotPeek build in Symbol server to decompile source code

Debug assembly binding Use Modules window to verify loaded symbols Assembly Binding Log Viewer (Fuslogvw.exe)

Debugging web applications Debugging of both browser and server JavaScript debugging allowed only for attached debugger JavaScript „debugger;“ W3wp process, its command line and application pool Window Exception Settings – break on custom exception

Beakpoint location/move Breakpoint for each thread Simple tips Beakpoint location/move Breakpoint for each thread Override ToString method DebugerDisplay, DebuggerBrowsabel, DebuggertypeProxy Break on function name Startup arguments Visual studio hosting process

Installed with Visual Studio Standalone Install usually fails Remote debugger Installed with Visual Studio Standalone Install usually fails Needs identical credentials on both machines Attach to process only on different machine

Solarwinds 30+ products for IT Management Microsoft stack: C#, MS SQL, AngularJS Brno office – Solarwinds R&D center https://www.solarwindsmeetup.com/ Career opportunities http://solarwinds.jobs/ Visit our booth