Python remote debugging with your ADDM development VM.

Slides:



Advertisements
Similar presentations
Support.ebsco.com EBSCOadmin Branding Tutorial. Welcome to the EBSCOadmin Skinning and Branding tutorial, where you will learn how to customize EBSCOhost.
Advertisements

1 Unit 02. Visual Studio Visual Studio.NET Creating Projects Project Anatomy Using the IDE Code Snippets.
PRODUCT TRAINING Installation.
In the top left corner of the page, click on Pages & Files. Click on the If Then Statements folder to select it. Click New – Create a Page. You can also.
Managed by UT-Battelle for the Department of Energy Xihui Chen, Kay Kasemir ORNL/SNS April 2013 at IHEP Control System Studio Setup - Hierarchical.
Development Configuration Guide Using NetBeans IDE
1. What is Subversion? Why do we need CM? Basic concepts Repositories Options Setup Clients Options Setup Operation Troubleshooting Slide 2.
The Way to Success … Sta rt Sta rt Ak Technologies Mo | Visit.
Extending JIRA Rachel Wright July 15, 2014 See slide “Notes” section for commentary and talking points.
COMPUTER PROGRAMMING I Essential Standard 5.02 Understand Breakpoint, Watch Window, and Try And Catch to Find Errors.
IMS Client Installation Procedures 1. Copy the Voic Pro from the shared folder on the Voic Pro server. Go to Start, Run, and \\ or \\
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
 Share assignments and files  Student and parent home access  Announcements  Classroom information.
Microsoft Expression Web-Illustrated Unit L: Using Code Tools.
For Removal Info: visit
Chapter 3 Tables and Page Layout
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Introduction to CVS 7/3/20151UMBC CMSC 341. Outline Introduction to Source Code Management What is CVS? CVS for Project Submission Basic commands Checkout,
Chapter 1 Getting Started With Dreamweaver. Explore the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Building a Deployment The following screens demonstrate how to: 1. Create a new OpenHRE™ tailor-made deployment using a remote (sample) deployment Standard.
SOUL INSTALLATION Step-1 For this Please Install the Version 7.0 or SQL Server 2000 or onwards.
1 Open a Lotus Notes Database in the Lotus Notes Client.
® IBM Software Group © 2006 IBM Corporation The Eclipse Data Perspective and Database Explorer This section describes how to use the Eclipse Data Perspective,
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
Introduction to ArcGIS Add-Ins Exercises GIS/LIS Conference, 2014 Rochester, MN.
Deployment Management The following screens demonstrate how to: 1. Access and view deployments 2. Create a new local deployment 3. Create and modify a.
Snippet Management The following screens demonstrate how to: 1. Access and view snippets 2. Create a local standard snippet, or a local class snippet 3.
Toolbars Command Bar Customize Home Menu Bar Status Bar Section III- Toolbars.
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Hands-On Virtual Computing
Total Control CMS A Webinar by PaperStreet. Total Control – A Brief Overview What is a CMS? What is Total Control and what are the benefits of using it?
Special Project Group 03 Chintan Shah Nisharg Patel Cynthia York.
ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Fourth R Inc.1 WELCOME TO MICROSOFT OFFICE FRONTPAGE 2003 INTRODUCTORY COURSE.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Eclipse 3.1 IDE Overview.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Adding Websites to the Internet Explorer trusted sites list in order to log-on to Cozzini websites without any security problems.
Chapter 1 Getting Started With Dreamweaver. Exploring the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
By: Gia Vuong Riyad Mahmud Narsimha Kalthy.  What is Mahara?  Logging into the ACS Portfolio  Using Mahara to Manage: ◦ Files ◦ Blogs ◦ External Feeds.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
WinCVS Training è Basic Concepts è Download & Setup è Importing a new module into CVS Repository è Getting new module from CVS è Getting Latest version.
TOOLBOX. The Toolbox Intrinsic Controls - always included in the Toolbox ActiveX Controls - separate files with ocx file extension Insertable Objects.
Module 4 Creating EMC Files, Uploading EMC Files and Downloading Reports PC-ACE Pro32.
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
ECLIPSE IDE & PACKAGES. ECLIPSE IDE Setting up workspace Making a new project How to make classes Packages (will explain more about this) Useful short-cuts.
Debugging RTC CLI in Eclipse
Installing Analysis Tool Pak
Introduction to ArcGIS Add-Ins
DEBUGGING.
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
Horizontal Centering Using the menu bar
Lesson 1: Components of Patient Lists
Installing Analysis Tool Pak
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing arrow to the right on.
Click to edit title TO ADD NEW SLIDE LAYOUTS: Make sure you have the ‘Home’ tab selected at the top of the PowerPoint screen and click the down facing.
Java Code Review with CheckStyle
Presentation transcript:

Python remote debugging with your ADDM development VM

PRE-REQUISITS › You need to have working ADDM dev environment. › You must have setup Eclipse IDE with proper project which should point to your ADDM dev VA code. › You need Python’s PYDEV module.

SETUP STEPS › Copy from your eclipse directory the following directory onto your dev appliance. ( /plugins/org.python.pydev.debug_x.x.x.x/pysrc). E.g : /usr/tideway/dev/pydevd/ › Include the directory into your PYTHONPATH on your appliance. For this we need to edit tw_setup. Please note you need to edit $TIDEWAY/tw_setup on your DEV VA. › In the pydevd edit the file pydevd_file_utils.py file so that “PATHS_FROM_ECLIPSE_TO_PYTHON” list have value : PATHS_FROM_ECLIPSE_TO_PYTHON = [(r'Z:\dev\code\trunk\python', r'/usr/tideway/dev/code/trunk/python'),(r'C:\Python27\lib',r'/usr/tideway/lib/python2. 7')]

SETUP STEPS CONTD.1 › Now modify your python code with following statements. › You can add the below code snippet at $TIDEWAY/python/common/daemonise.py (after log message : logger.debug( "Daemon setup complete" ) ) OR $TIDEWAY/python/ui/web insert the following code in Launch.py after config.setupDaemon() › import pydevd;pydevd.settrace(host=' ', stdoutToServer=False, stderrToServer=False, suspend=False, trace_only_current_thread=False)

ECLIPSE SETTINGS › In Eclipse go to Windows->Customize Perspective -> Commands Tab › In the commands section select “Pydev Debug” check box. › After that click on Debug perspective. Press on start debug server option on tool bar. › Once we start debug server it starts listening on respective IP.

REFERENCE › If you need any more help please visit confluence page : › bugging+with+your+development+VM bugging+with+your+development+VM