Introducing HP NonStop Development Environment Version 2.0 for Eclipse (NSDEE 2.0)

Similar documents
NonStop Development Environment for Eclipse 4.0 Debugging Supplement

HPE NonStop Development Environment for Eclipse 6.0 Debugging Supplement

NonStop Development Environment for Eclipse 7.0 Debugging Supplement

Infor LN Studio Application Development Guide

NSIGHT ECLIPSE EDITION

Resource 2 Embedded computer and development environment

Nios II Studio Help System

Laboratory Assignment #3 Eclipse CDT

Guidelines for using Internet Information Server with HP StorageWorks Storage Mirroring

The Road to CCSv4. Status Update

Module 3: Working with C/C++

NSIGHT ECLIPSE EDITION

Composer Help. Import and Export

Migrating from Inspect to Native Inspect

Wind River Workbench (VxWorks Version) User's Guide, 3.0. Wind River Workbench USER S GUIDE 3.0. VxWorks Version

Migration from HEW to e 2 studio Development Tools > IDEs

NSIGHT ECLIPSE EDITION

Chapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc.

ECM583 Special Topics in Computer Systems

At the shell prompt, enter idlde

Laboratory Assignment #4 Debugging in Eclipse CDT 1

COBOL-IT Developer Studio Getting Started The Debugger Perspective Version 2.0

APPLICATION COMMON OPERATING ENVIRONMENT (APPCOE)

DS-5 ARM. Using Eclipse. Version Copyright ARM. All rights reserved. ARM DUI 0480L (ID100912)

COBOL-IT Developer Studio

Rational Systems Developer

Customized Enterprise Installation of IBM Rational ClearCase Using the IBM Rational ClearCase Remote Client plug-in and the Eclipse SDK

Introduction to IBM Data Studio, Part 1: Get started with IBM Data Studio, Version and Eclipse

Introduction to IBM Data Studio, Part 1: Get started with IBM Data Studio, Version and Eclipse

User Guide. Introduction. Requirements. Installing and Configuring. C Interface for NI myrio

HP Data Protector Integration with Autonomy IDOL Server

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS. For IBM System i (5250)

Module Road Map. 7. Version Control with Subversion Introduction Terminology

LinuxScope-JTD Installation Guide. Version 4.0.0

Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS For IBM System i (5250)

Code Composer Studio v4. Introduction

Supplement H.1: JBuilder X Tutorial. For Introduction to Java Programming, 5E By Y. Daniel Liang

Supplement II.B(1): JBuilder X Tutorial. For Introduction to Java Programming By Y. Daniel Liang

Optional Eclipse Workspace Configurations

Getting Started (1.8.7) 9/2/2009

Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang

AN 834: Developing for the Intel HLS Compiler with an IDE

AndeSight. User Manual. Working with AndESLive. Version 1.0

COBOL-IT Developer Studio 2.0

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2005

WPS Workbench. user guide. "To help guide you through using the WPS user interface (Workbench) to create, edit and run programs"

OS PORTING AND ABSTRACTION LAB USER MANUAL

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version.

Eclipse-Based CodeWarrior Debugger

NDA ISSUE 1 STOCK # MATWorX 32 User s Guide. December, NEC America, Inc.

Using the VMware vrealize Orchestrator Client

GRLIDE. LEON IDE plugin for Eclipse User's Manual. The most important thing we build is trust GR-LIDE-UM. August 2016, Version 1.

ARM DS-5. Eclipse for DS-5 User Guide. Version 5. Copyright ARM. All rights reserved. ARM DUI0480Q

Creating a new CDC policy using the Database Administration Console

FX SERIES. Programmer s Guide. Embedded SDK. MN000540A01 Rev. A

CodeWarrior Development Studio for etpu v10.x Quick Start SYSTEM REQUIREMENTS

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

HPE Security Fortify Plugins for Eclipse

GETTING STARTED WITH ECLIPSE Caitrin Armstrong

Using the VMware vcenter Orchestrator Client. vrealize Orchestrator 5.5.1

i2b2 Workbench Developer s Guide: Eclipse Neon & i2b2 Source Code

Alborz 1.0 Installation Guide

HP Database and Middleware Automation

ARM DS-5. Eclipse for DS-5 User Guide. Version 5. Copyright ARM Limited or its affiliates. All rights reserved.

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

News in RSA-RTE 10.2 updated for sprint Mattias Mohlin, May 2018

EMC Documentum Composer

DS-5 ARM. Getting Started with DS-5. Version 5.6. Copyright 2010, 2011 ARM. All rights reserved. ARM DUI 0478F (ID071411)

Release Notes. S32 Design Studio for ARM v1.1

Labs instructions for Enabling BeagleBone with TI SDK 5.x

CA Gen. Diagram Trace Utility User Guide. Release 8.5

Introduction to WebSphere Development Studio for i5/os

Simplifying Enterprise Installation of IBM Rational ClearCase

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010

Wind River Workbench User's Guide, 3.1. Wind River Workbench USER'S GUIDE 3.1

TIBCO LiveView Web Getting Started Guide

egui Eclipse User Guide

HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS

CodeWarrior Development Studio for Power Architecture Processors FAQ Guide

Series 40 6th Edition SDK, Feature Pack 1 Installation Guide

25. DECUS Symposium THE Application Development Environment for OpenVMS

VNUG NonStop Modernization Franz König Hewlett-Packard - Advanced Technology Center

Getting the Most from Eclipse

QNX Software Development Platform 6.6. Quickstart Guide

As CCS starts up, a splash screen similar to one shown below will appear.

Foxit Reader Quick Guide

Getting Started with Xpediter/Eclipse

Prerequisites for Eclipse

IBM i Debugger. Overview Service Entry Points Debugger Functions Attach to an IBM i Job Launch Configurations and Settings

Adobe ColdFusion Documentation. September 2014

Desktop & Laptop Edition

ARM DS-5. Using the Debugger. Copyright 2010 ARM. All rights reserved. ARM DUI 0446A (ID070310)

Introduction to Eclipse

Test/Debug Guide. Reference Pages. Test/Debug Guide. Site Map Index

Installation Guide. EventTracker Enterprise. Install Guide Centre Park Drive Publication Date: Aug 03, U.S. Toll Free:

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive

Zend Studio 3.0. Quick Start Guide

GNATbench for Eclipse User s Guide

Your password is: firstpw

Transcription:

Introducing HP NonStop Development Environment Version 2.0 for Eclipse (NSDEE 2.0) Swaroop Dutta Steve Williams Seth Hawthorne May 6, 2010 1 2010 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice

Welcome Objective: Provide a sneak peek preview of NonStop Development Environment for Eclipse (NSDEE) Audience: Developers of NonStop applications Topics Background NSDEE Overview NSDEE Tour: Edit Build Deploy Debug NSDEE Remote Projects NSDEE Debugging Migration Conclusion 2

3 Background

Changing Nature of NonStop Software Development Gone are the days of a single platform and single technology stack Developers increasingly work with multiple technologies an multiple platforms Open source has become a transformational and driving force Pace of technology evolution continues to increase Organizations value standard skills to reduce training and increase flexibility Organizations want to optimize software development cycle time Background Increasingly difficult for proprietary tools to meet these needs Response: NonStop Modernization initiative 4 Embrace standards and open source Provide industry standard tools Leverage and extend the industry standard Eclipse Integrated Development Environment (IDE)

Background The Journey from Proprietary to Industry Standard Tools Many have started but are at different points along the way The biggest challenge is embracing CHANGE Expectations are key Requires some give and take 5 Challenges Tools familiar to long-time developers are no longer available Sometimes less integrated Often have to rely on documentation from several sources Tools may have some rough edges or lack customizations Benefits New capabilities previously unavailable with proprietary tools (debugger memory leak detection) Increased flexibility Faster rate of evolution The ability to use the same tools and skills across platforms

Integrated Development Environment 101 Background A GUI for software development Simplifies software development workflows (edit build deploy debug) Integrates development tools Language and API aware editing Provide information about program structure Benefits Simplifies development Integrates tools for multiple technologies Common interface for multiple platforms Users Some prefer IDEs, some prefer command-line tools Not necessarily an either/or Increasingly important to next gen developers Industry leading IDEs have converged on: Visual Studio Eclipse and Eclipse derived products NetBeans 6

Background The Power of Eclipse Leading open source IDE Architecture Java based OSGI Component model Used as an IDE platform Used as a framework for building stand-alone applications Runs on many platforms Rich plug-in ecosystem Innumerable IDE frameworks and plug-ins: Java Development (JDT) C/C++ Development (CDT) NSDEE SQL Explorer UML modeling Embedded device development Yearly major releases 7

8 NSDEE Overview

NSDEE Overview Introducing NSDEE Go forward NonStop Integrated Development Environment (IDE) Supersedes Enterprise Plug-ins for Eclipse (EPE) Platform for future IDE functionality; Visual Studio-based ETK is mature Eclipse-based Industry standard IDE Common development desktop for multiple platforms and technologies Users benefit from rich ecosystem of extensions Supports Windows-based ( local ) development NonStop-based ( remote ) development IDE Integrated Debugging for Integrity NonStop systems 9

NSDEE Targets all NonStop developers Windows hosted cross-compiler users 10 Can run existing makefiles from NSDEE Can use the IDE while continuing to use command-line tools Enterprise ToolKit (ETK) users Can import existing projects to NSDEE Benefit from the cross-platform nature of eclipse Can leverage more third-party extensions NonStop hosted users First NonStop IDE to support NonStop hosted development! Build on OSS or Guardian Visual Inspect users Can use NSDEE during the edit->build->deploy->debug cycle Still use Visual Inspect for non-eclipse built applications and when features not yet supported by NSDEE debugging are required Enterprise Plug-in For Eclipse (EPE) users Free upgrade to NSDEE! NSDEE Overview

NSDEE Overview What s different from EPE? Integrated Integrity NonStop debugging Launch and debug programs from the IDE! Launch programs from the IDE Improved NonStop connectivity SSH support including certificate based login Browse and edit remote files NonStop connection manager Significantly improved eclipse integration Eclipse based packaging and installation (via Update Manager) Improved integration between local and remote development Problem view support for NonStop remote builds Click on diagnostic messages to navigate to and fix build issues More robust and scalable Improvements to standard make build model 11

NSDEE Overview The NSDEE Software Stack NSDEE Core Supports C, C++, COBOL, ptal Local edit and build Remote edit and build NSDEE Debug Integrated debugging for Integrity NonStop systems NSDEE builds on eclipse CDT NonStop Java developers can install the standard eclipse JDT 12

NSDEE Overview NSDEE Build Models Local Build Execute build on Windows Source files reside on Windows Uses NonStop cross-compilers with cygwin make Standard make model User defines and manages the makefile NSDEE defines environment variables Managed make model IDE uses knowledge of dependencies to generate and maintain the makefile Useful for small programs, less so for large ones Remote Build Execute build on NonStop system Source files and tools reside on NonStop OSS make Guardian GMAKE Standard make model Allows the IDE to be used with legacy NonStop applications 13

NSDEE Tour: Edit Build Deploy Debug 14

Tour: Installation First a few Key Eclipse Concepts Eclipse Perspective A collection of views that are useful for a particular activity. With NSDEE you will use: NonStop Local perspective NonStop Remote perspective Debug perspective Tip: Pay attention to which perspective is selected Eclipse View A tabbed pane within a perspective. You can control which views are displayed, drag-and-drop views to different locations, and double-click a view s tab to maximize or minimize it. Eclipse Workspace A container for organizing a collection of related projects. State that persists between eclipse sessions is managed on a perworkspace basis. NSDEE recommends against combining local and remote projects in the same workspace. CDT C/C++ Development Toolkit. Base eclipse framework that NSDEE builds on. Tip: CDT documentation is a useful reference 15

Tour: Installation Getting NSDEE Prerequisites General Windows XP or Vista (32-bit) Java version 5 (or later) ~200 MB disk space Local build NonStop cross-compilers Cygwin 3.8.1 (or later) Remote build Integrity NonStop system Integrated debugging Obtaining NSDEE Two bundles NSDEE Core NSDEE Core with Debugging Customers Try before you by (60-day trial version) Order as independent product Internal users Contact presenters Integrity NonStop system Native Inspect T1237H01^AAT (or later) 16

Tour: Installation Installation 1. Install the eclipse software stack or use an existing installation Eclipse 3.4.x (Ganymede) C/C++ Development Toolkit (CDT) version 5.0.2 exact version required 1 2. Run Eclipse 3. Use the Update Manager to install NSDEE Help Software Updates 2 17 Eclipse does not alter the Windows registry. You can easily maintain multiple configurations (disk space permitting) 3 NSDEE archive name

Open the NonStop Local Perspective 1. Open the NonStop Local Perspective Window Open Perspective Other NonStop Local Tour: Edit Build Deploy Debug Current perspective C/C++ outline view Workspace project view Source edit view 18 Build problems view

Create a Local Hello NSDEE Project 2. Create a project: HelloNSDEE File New Standard Make NonStop Local Project Tour: Edit Build Deploy Debug 19

Create a Local Hello NSDEE Project 3. Create folders to organize your files Right Mouse Menu: New Source Folder : Source Right Mouse Menu: New Source Folder : Build 4. Create a source file: hello.c Select the source folder Right mouse menu: New Source File 5. Enter source text, save, and close the file: 20

Create the makefile and Configure Compilers 6. Edit the makefile TARGET_EXE = build/hello.txe TARGET_OBJS = build/hello.o TARGET_LIBS = -l libcre.so -l libcrtl.so -l librld.so LIB_ROOT = ${COMP_ROOT}\usr\lib C_MAIN = "${LIB_ROOT}\ccplmain.o" C_OPTS = -I header -g -Woptimize=0 -Wcall_shared -Wintdir=build/ ELD_OPTS = -warn -set systype OSS -allow_duplicate_procs "-L ${LIB_ROOT}" all: ${TARGET_EXE} ${TARGET_EXE} : ${TARGET_OBJS} eld ${C_MAIN} ${ELD_OPTS} ${TARGET_LIBS} ${TARGET_OBJS} -o ${TARGET_EXE} build/%.o: source/%.c c89 ${C_OPTS} -c $< -o $@.PHONEY: clean clean: rm -f build/*.* 7. Configure local compilers NonStop Tools Configure Compilers Tour: Edit Build Deploy Debug NSDEE passes environment variables to the makefile 21

Tour: Edit Build Deploy Debug Build 8. Build Disable automatic build (if enabled) Project Build Automatically (is unchecked) Build the project Select project Right Mouse Build Project 9. Oops there was an error 22 Double click on the error message in the Problems view to open the source file Add the missing semi-colon Build the project

Tour: Edit Build Deploy Debug Define a Connection to the NonStop System Define a connection: NonStop Tools Configure Connections Specify the system Specify user Select protocol Click: Connect Connection information is stored per eclipse Workspace. You can export and import configurations between workspaces 23

Create a Launch Configuration Tour: Edit Build Deploy Debug Defines how to launch (run or debug) a project s executable on the NonStop system 1.Create Invoke Debug Configurations NonStop Application Complete required fields Optionally specify additional info 2. Apply and Close 24 Copy local executable to NonStop

Tour: Edit Build Deploy Debug Run the Program 1 1.Open the Run Configuration 2.Click Run 3.View output in console window 3 2 25

Tour: Edit Build Deploy Debug Debug the Program 1. Launch the Debug Configuration. Either: Select previously used configurations from the menu Or select from the Debug Configurations dialog 26

Tour: Edit Build Deploy Debug The Debug Perspective Execution Control Variables Breakpoints Stack View Source View Current loc 27 Consoles

28 NSDEE Remote Projects

Remote Projects NSDEE Remote Projects Use the NonStop Remote perspective Edit NonStop hosted files (OSS or Guardian) Use makefile or build script to build with NonStop hosted tools OSS make (a GNU make) Guardian GMAKE (GNU make subset) Use the NSDEE debugger Improves EPE capabilities Problems view lists remote build errors Edit arbitrary remote files Browse NonStop hosted files Improved handling of file types 29

Remote Projects NonStop Remote Perspective Remote Perspective Projects Remote Directories 30

31 NSDEE Debugging

Debugging NSDEE Debugging Focus: debug phase of the IDE workflow Debugs eclipse-built applications during development NSDEE is not yet a stand-alone or production debugger Does not yet support some NonStop debugging features (info opens, ) Supports debugging C, C++, and COBOL on Integrity NonStop systems Recommend compiling at optimization level O0 during development Uses Native Inspect as back-end Some Debug Perspective features are not available with NonStop Watchpoints, Step Filters, Controlling GUI update/step performance Use debug configuration to set defaults Enable/disable items 32

Debugging Session and Execution Control Execution control Resume, Suspend, Step in, Step Over, Step Out Run To Line Right Mouse menu operations Run To Line Resume At Line Make sure target line is selected Use with caution; must have consistent register state Attach to a running process using a NonStop Attach Process Debug Configuration Session control Stop Disconnect Process Browser 33

Debugging Breakpoints Setting code breakpoints Click breakpoint column in source view or use Right Mouse: Toggle Breakpoint Breakpoints View lists breakpoints Enable/disable breakpoints Breakpoint properties Breakpoints persist per-workspace between sessions Can import/export Remove 34

Debugging Variables View Displays local variables for selected stack frame Displays specified globals Add Remove Changed values are highlighted Operations Expand/collapse Enable/disable Cast To Type Display As Array Change Value Format Can also display C/C++ variables using the mouse pointer in the source view 35

Debugging Expressions View Displays specified variables and expressions To add an expression either Right Mouse: Add Watch Expression or drag-and-drop text from source view or drag-and-drop an item from the variables view Expressions are reevaluated in the current context each time the program is suspended 36

Debugging Other Debugging Views Debug view displays Program execution stack Debugger process Process being debugged Modules view displays DLLs (shared libraries) Signals view not supported in this release 37

Debugging Machine-Level Debugging (1of2) Disassembly view Step instructions Instruction breakpoints Memory view Monitors display memory in different formats Modify memory Changes highlighted 38

Debugging Machine-Level Debugging (2of2) Registers view Enable/disable to control performance Changes highlighted Operations Change value Cast To Type Create Watch Expression Format 39

Debugging Console commands A sub-set of Native Inspect commands can be entered from the debugger console b location catch load unload stop abend info open ih and mh mab and dmab print save Vq 1.Click debugger Debug view item 2.Enter command in Console view 40

41 Migration

Migration Migrating from EPE 1. Select the NonStop perspective that matches the type of EPE project (local or remote) 2. Use the Import wizard to import EPE projects 2 1 42 3

Migration Migrating from ETK 1. Select the NonStop Local perspective 2. Choose Import ETK Project PATH variables and macros are not migrated 43

44 Conclusion

Conclusion Conclusion NSDEE extends the industry standard Eclipse IDE to support NonStop Builds on an IDE that is available for many platforms Offers a rich ecosystem of open source and third-party extensions NSDEE targets all modes of NonStop development NSDEE is the first NonStop IDE to support NonStop hosted ( remote ) development Integrated debugging NSDEE offers significant functional and integration improvements over EPE NSDEE is the future platform for NonStop IDE and debugger GUI enhancements 45

Conclusion We Value Your Feedback We are always interested in your feedback Especially on: Do you expect to use eclipse with other platforms? The Importance of Linux hosting? ETK features that you would like to see in NSDEE? Additional debugging capabilities 46

47 Thanks!