Debugging Java in Agents, Script Libraries, and XPages
|
|
- William Robertson
- 5 years ago
- Views:
Transcription
1 Debugging Java in Agents, Script Libraries, and XPages Julian Robichaux, panagenda IBM Notes den EierlegendenWollMilchSau für alle und Immer
2 Who Am I? Julian Robichaux Senior Application Developer, panagenda Notes developer since 1996 nsftools.com since 2002 Conference speaker since 2006 IBM Champion since (since 2007)
3 Why Are We Here? Debugging Java in Notes/Domino! It s easier than you think I do this all the time Eclipse is magical Java agents and XPages Java Tips at the end about creating/reading Java core dumps, finding bugs before the code runs, and more! N.B. this is from a presentation I gave with Mark Myers (LDC). HI MARK!
4 What Will We Be Using? IBM Domino Server FP4 IBM Domino Designer (DDE) FP4 Java 1.6 (as included with Domino and DDE) XPages and Java agents Eclipse
5 The Ninja Classes The Java classes we use for demonstration are based [very loosely] on Ninja prowess and skill public int attack (Ninja otherninja, IMove move) throws NinjaException { } int damageinflicted = attemptmove(move); otherninja.suffer(move); return damageinflicted;
6 The Ninja Classes
7 The Java Debug Console
8 What Is Debugging? Kind of a silly question, but one we need to address Many possible answers: Logging Capturing errors Reproducing problems Stepping through code Looking at crash dumps
9 Classic Notes Java Debugging System.out.println()!!
10 The Lowly Java Console Captures System.out and System.err messages from Java agent code run on the Notes client Tools Show Java Debug Console Problem with DDE: sometimes the debug console won t open Solution: completely shut down the Notes client and DDE, restart Notes, launch the debug console before you open DDE
11 Debug Console Tricks Type v for Java Version info
12 Debug Console Tricks (cont.) m for memory available, f for finalization, g for garbage collection
13 Debug Console Tricks (cont.) p for system properties
14 Debug Console Tricks (cont.) control-alt-e for the Euro symbol Just some crazy thing my Windows XP machine does (might not work for you)
15 That s Great, But It s not much more than seeing the output of print statements Only from Agents, not XPages Since Notes 7, we have the ability to attach a real Java debugger to the client Including, but not limited to, Eclipse Set breakpoints, step through code, inspect variables, etc.
16 Eclipse or DDE? DDE comes with the Eclipse debugger, so you have a choice Sometimes it s more convenient to use standalone Eclipse, sometimes DDE I will show you both, starting with Eclipse
17 Debugging Java agents and script libraries
18 Setting up the Notes Client for Debugging Tools Java Debugging Preferences
19 Setting up the Notes Client for Debugging (cont.) Select the options and ports you want Client Agents are triggered agents Locally Scheduled Agents are just what they sound like Http Preview is Java code run from a Web page, served by the local nhttp process
20 Setting up the Notes Client for Debugging (cont.) Client restart is required when you make changes
21 Check Your Firewall Settings Nlnotes.exe must be allowed to use those ports in your workstation firewall settings
22 Check Your Firewall Settings (cont.)
23 Create a Java Agent Open a database in DDE, and go to the Code Agents section Click the New Agent button
24 Create a Java Agent (cont.) Give the agent a name, and make sure the Type is set to Java
25 Create a Java Agent (cont.) Import the NinjaClasses script library into the agent
26 Create a Java Agent (cont.) Double-click the JavaAgent.java entry in the Agent Contents list
27 Create a Java Agent (cont.) Add some code to the agent
28 Create a Java Agent (cont.) Close the JavaAgent.java tab, and choose Yes when you are prompted to save your changes
29 Create a Java Agent (cont.) Make sure these Agent Properties are set: Target = None (standard agent setting) Compile Java code with debugging information checked See screenshot on next slide The Compile with debugging information is very important, and is NOT checked by default Allows the debugger to know what line it s on after the source code has been compiled to bytecode Adds line numbers and method info to stack trace No performance loss
30 Create a Java Agent (cont.)
31 Create a Java Agent (cont.) Click the Export button to export the agent code to a local file
32 Create a Java Agent (cont.) Save and close the Java agent It can now be run from the Actions menu of the database If you want, you can open the debug console and see the System.out message get printed when the agent runs! Amazing! Now, let s set up the debugger
33 Install Eclipse Make sure Java (standalone) is installed on your workstation Java 1.5 or higher (I use 1.6) JRE will work, but you may as well use a full JDK Download a version of Eclipse 3.4 (Ganymede) or higher This is simply a ZIP file that must be unzippped Do NOT use native Windows unzip. 7-Zip is a good choice. It is better to install Eclipse in a short folder name (like c:\eclipse)
34 A Word About Versions I usually use Java 1.6 and Eclipse 3.4, because that matches the versions of Java and Eclipse in the Notes 9 client when I write Eclipse plugins I don t have compatibility issues All these things should work with newer versions of Java and Eclipse too! Eclipse 4 is much sexier than Eclipse 3
35 Launch Eclipse Double-click eclipse.exe
36 Launch Eclipse (cont.) Create a new Workspace for our debugger project
37 Launch Eclipse (cont.)
38 Create a New Java Project File New Java Project
39 Create a New Java Project (cont.) Name the project, click Finish
40 Create a New Java Project (cont.) Right-click the new project in Package Explorer and choose the menu option Import
41 Create a New Java Project (cont.) Use an import source of: General File System
42 Create a New Java Project (cont.) Select the directory you exported the Java agent to earlier, and all the files in that directory Import into folder: ProjectName/src Click Finish
43 Create a New Java Project (cont.) The project will now look like this:
44 Add Missing JAR Files to Java Build Path Not strictly necessary, but gets rid of all those red X s Choose the menu item Project Properties
45 Add Missing JAR Files to Java Build Path (cont.) Select Java Build Path from the left-hand list Go to the Libraries tab Click the Add External JARs button Select Notes.jar from your Notes\jvm\lib\ext directory Select Ninja.jar from wherever you have that stored NOTE: or you can import the Ninja class source code directly into your project Click OK to save the changes
46 Add Missing JAR Files to Java Build Path (cont.)
47 Show Line Numbers Eclipse doesn t usually show line numbers by default Right-click the gutter just to the left of the code (where line numbers should be) and choose the menu option Show line numbers
48 Open the Debug Perspective Window Open Perspective Debug
49 Open the Debug Perspective (cont.)
50 Can We Start Debugging Now? Almost there
51 Set a Breakpoint in the Code Double-click a line number to toggle the breakpoint at that line The breakpoint will be shown as a small blue ball in the gutter area to the left of the line numbers
52 Create a Debug Configuration Click the down-arrow next to the small bug icon in the task bar Then choose Debug Configurations from the drop-down menu
53 Create a Debug Configuration (cont.) Right-click Remote Java Application in the Debug Configuration list, and choose New
54 Create a Debug Configuration (cont.) Use the following settings: Name: JavaAgent Connection Type: Standard (Socket Attach) Host: localhost Port: 8701 Click Apply to save your changes
55 Create a Debug Configuration (cont.)
56 Start Debugging Make sure the Notes client is running Click the Debug button at the bottom of the Debug Configuration dialog If the debugger attaches successfully, you will see something like this:
57 Errors Starting the Debugger? Errors in Workspace You can ignore this if you get it. It just means that there are unresolved dependencies or something in the code you imported. Not important for the debugging we re doing.
58 Errors Starting the Debugger? (cont.) Failed to connect to remote VM Make sure the Notes client is running, and that you set the debugging properties properly, and that you restarted the client after you set the properties Has the Notes JVM started yet? Launch the Java Debug Console to be sure. Check your firewall Check your port numbers Use TCPView from Sysinternals or Windows 8 Resource Monitor to determine which ports are currently in use
59 Run the Agent! Open the database in the Notes client Choose the menu option Actions NinjaDebugTest When the code hits the breakpoint, the debugger should suspend the agent thread
60 Debugging the Live Agent
61 Basic Debugging Actions Resume Use Step Filters Disconnect Step Into, Step Over, Step Return
62 Step Filters List of classes or packages to ignore when you do a Step Into So you don t step into classes you have no source code for Good packages to add: com.ibm.* COM.ibm.* (if available, case-sensitive) lotus.domino.* org.apache.*
63 Step Filters (cont.)
64 Inspecting Variables Variables and objects for the current code context can be found in the Variables view of the Debug perspective By default, this will be in the top right of the perspective Double-click the tab to maximize it temporarily
65 Inspecting Variables (cont.) If you select a variable or object in the list, its string value will be displayed in the bottom pane of the Variables view
66 Inspecting Variables (cont.) If you click on a scalar value in the Variables list, you can modify that value for the current run of the code
67 Evaluating Code The Display console allows you to execute small bits of code to evaluate them against the current context and see the result To open the Display view, choose the menu option Window Show View Display
68 Evaluating Code (cont.) In the Display console, you can type arbitrary expressions to be evaluated Type the expression in the console view Select the entire expression (as though you were about to copy to the clipboard) Click the Display result of evaluating selected text button in the Display console toolbar
69 Evaluating Code (cont.) If the expression you run changes a value in an object, that value will remain changed when the code continues
70 When You re Done Don t forget to disconnect!
71 Other Fun Tricks The Eclipse debugger has a lot of other interesting (and useful) bits of functionality Conditional breakpoints Exception breakpoints Detail formatters Watch values Copy stack And more Many good resources on the Internet
72 Issues and Problems You MUST export source code from Notes, and keep it in sync with Eclipse But wait, you can do this within DDE too! No export needed. We will see this next Script libraries must also be exported in order to debug attached code Once the debugger is running, it will hit the line number breakpoint for ALL agents that run, not just the one you want to debug Firewalls can get in the way Use Sysinternals TCPView or Windows 8 Resource Monitor to check ports
73 TIME CHECK 16:45?
74 Debugging Java in XPages
75 Debugging Java in XPages Java can be called from SSJS on an XPage If it s your own custom Java class (as source code), it can be debugged NOTE: debugging JavaScript is outside the scope of this session; we re only talking about Java here
76 Notes 8.5 vs 9.0 The steps in this section are for Notes/DDE 9.0 If you are still using DDE 8.5, there are some differences: the Java design element did not exist until the JAR file design element did not exist until 9.0 you can still add Java code and JAR files for XPages in older versions of 8.5, but you have to use the Package Explorer view and modify the Build Path Work_with_Java
77 Import the Ninja JAR File
78 Create an XPage-able Java Class
79 Create an XPage-able Java Class (cont.) Give the new class a Package and a Name:
80 Create an XPage-able Java Class (cont.) The new class file should now be open in DDE for editing
81 Create an XPage-able Java Class (cont.) Add some code to the class and save it
82 Create a New XPage Back in the Applications view in DDE, go to the XPages section of your database and click the New XPage button
83 Create a New XPage (cont.) Give the XPage a name, and click OK
84 Create a New XPage (cont.) Drag a new Label control to the XPage, and give it a Label value of Random Ninja Move:
85 Create a New XPage (cont.) Drag a Computed Field control to the XPage, and give it a JavaScript value as shown below
86 Create a New XPage (cont.) Save the XPage and test it in a browser
87 Setting Up Debugging Add the following lines to your Domino server s Notes.ini This will require at least a restart task http to take effect The address=9700 variable is the port that debuggers will attach to As always, check your firewall rules JavaEnableDebug=1 JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=9700
88 Setting Up Debugging (cont.) Open your test Java class in DDE again Click the down arrow beside the GREEN bug icon in the toolbar, and choose Debug Configurations
89 Setting Up Debugging (cont.) In the Debug Configurations dialog, right-click the Remote Java Application item and choose New
90 Setting Up Debugging (cont.) Adjust the host and port as needed, and click Apply This is the port from the notes.ini JavaDebugOptions
91 Setting Up Debugging (cont.) Make sure you ve restarted the Domino server or the HTTP task after you added the Notes.ini debug entries Click the Debug button in the Debug Configuration dialog
92 Setting Up Debugging (cont.) Double-click a line number in the Java code to add or remove the breakpoint at that line The breakpoint will be shown as a small blue ball in the gutter area to the left
93 Debug the Code! Refresh the XPage in a browser. When your breakpoint gets triggered, you will see a dialog in DDE asking if you want to switch to the Debug Perspective. Choose Yes.
94 Debug the Code!
95 Standard Eclipse Debugging From there, you can use standard Eclipse debugging as we demonstrated earlier Troubleshooting is the same too: Check the firewall port settings Check active ports in TCPView or similar Etc. Don t forget to disconnect! You can switch from the Debug perspective back to the normal DDE perspective with Window Open Perspective Domino Designer
96 Things to Watch Out For The debug port will only allow one connection at a time The debug port is incredibly insecure ANYONE with access to your server can connect to it There is no good way to specify (to the server) which piece of code you want to debug. If you set a breakpoint at line 10, then ALL Java XPages code will pause at line 10. As a result of these things, do NOT enable debugging on a production server
97 Which One To Use? Eclipse or DDE?
98 Nice Things About DDE Fewer steps involved Code is always in sync (no need to export to Eclipse) You are already using it!
99 Nice Things About Eclipse Newer versions have newer features and fixes for debugging these are usually minor Runs in a separate memory space useful for debugging big agents If you build JAR files in Eclipse for deployment to Notes/Domino, you can debug from the same place you write the JAR file Eclipse is a good tool to have (it can do so many more things)
100 Performance Analysis and Troubleshooting
101 Code Optimization Make your code work first, then worry about speed You always want working code to fall back on Is it fast enough? Leave it alone. Making code shorter doesn t make it faster Clever code is harder to troubleshoot Don t assume you know where the bottleneck is We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil - Donald Knuth
102 Static Code Analyzers FindBugs is a great tool for finding potential problems Bugs grouped by categories and subcategories, like: Security Scary Performance Dodgy Code New cloud option for development teams Rank bugs, assign fixes
103 FindBugs
104 FindBugs
105 Common Bottlenecks Some other guy s server Slow database queries Memory issues Leaks (less common than you think) Too much cached information, especially large objects, strings, XML Loading and unloading resources Non-lazy initialization of objects Slow or broken network connection
106 Simulating Poor Network Connections Network Link Conditioner (OSX) XCode > Open Developer Tool > More Developer Tools
107 Analyzing Java Memory Usage Used for: Tracking down memory leaks Finding high-memory-use objects (and arrays) Finding objects that are unexpectedly still in memory YourKit Java profiling app Eclipse Memory Analysis Tool
108 Analyzing Java Memory Usage IBM Thread and Dump Analyzer (for javacore files) communityview?communityuuid=2245aa39-fa5c b891-14c205f7333c IBM Heap Analyzer (for heapdump files) heapanalyzer
109 Generating Heap Dumps with Notes/Domino Domino XPages tell http xsp heapdump XPages Toolbox ( ) Directly from Java Agents or Classes com.ibm.jvm.dump.heapdump(); writes to notes\framework\heapdump.###.phd when run from an agent writes to the Domino program directory when run from an XPage there will be a message on the server console with the file location
110 Generating Heap Dumps with Notes/Domino Notes Client (Expeditor) this will give you information about Eclipse plugins open a Command Prompt while the Notes client is running change to the notes\framework\rcp\ directory enter one of the following commands: rcplauncher -dcommand_only -com.ibm.rcp.core.logger#dump heap rcplauncher -dcommand_only -com.ibm.rcp.core.logger#dump threads writes to notes\data\workspace\logs by default
111
112 Conclusion
113 Additional Resources Eclipse debugging eclipsetutorial.sourceforge.net/debugger.html blog.codecentric.de/en/2013/04/again-10-tips-on-java-debugging-witheclipse
114 Thank you IBM Notes den EierlegendenWollMilchSau für alle und Immer
Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang
Eclipse Tutorial For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Getting Started with Eclipse Choosing a Perspective Creating a Project Creating a Java
More informationJava Scrapbook Pages by Julian Robichaux, panagenda originally published on socialbizug.org, September 2013
Java Scrapbook Pages by Julian Robichaux, panagenda originally published on socialbizug.org, September 2013 Testing small bits of code in Domino Designer (DDE) can be tedious. For most people, it involves
More informationLaboratory Assignment #4 Debugging in Eclipse CDT 1
Lab 4 (10 points) November 20, 2013 CS-2301, System Programming for Non-majors, B-term 2013 Objective Laboratory Assignment #4 Debugging in Eclipse CDT 1 Due: at 11:59 pm on the day of your lab session
More informationTroubleshooting An Embedded Sametime Install by Julian Robichaux, panagenda originally published on socialbizug.org, November 2013
Troubleshooting An Embedded Sametime Install by Julian Robichaux, panagenda originally published on socialbizug.org, November 2013 I was testing the new IBM Sametime 9 client on a few different virtual
More informationPrerequisites for Eclipse
Prerequisites for Eclipse 1 To use Eclipse you must have an installed version of the Java Runtime Environment (JRE). The latest version is available from java.com/en/download/manual.jsp Since Eclipse includes
More informationCSCI 201 Lab 1 Environment Setup
CSCI 201 Lab 1 Environment Setup "The journey of a thousand miles begins with one step." - Lao Tzu Introduction This lab document will go over the steps to install and set up Eclipse, which is a Java integrated
More information1.00 Lecture 2. What s an IDE?
1.00 Lecture 2 Interactive Development Environment: Eclipse Reading for next time: Big Java: sections 3.1-3.9 (Pretend the method is main() in each example) What s an IDE? An integrated development environment
More informationNews in RSA-RTE 10.1 updated for sprint Mattias Mohlin, July 2017
News in RSA-RTE 10.1 updated for sprint 2017.28 Mattias Mohlin, July 2017 Overview Now based on Eclipse Neon.3 (4.6.3) Many general improvements since Eclipse Mars Contains everything from RSARTE 10 and
More informationEclipse Environment Setup
Eclipse Environment Setup Adapted from a document from Jeffrey Miller and the CS201 team by Shiyuan Sheng. Introduction This lab document will go over the steps to install and set up Eclipse, which is
More informationNews in RSA-RTE 10.2 updated for sprint Mattias Mohlin, May 2018
News in RSA-RTE 10.2 updated for sprint 2018.18 Mattias Mohlin, May 2018 Overview Now based on Eclipse Oxygen.3 (4.7.3) Contains everything from RSARTE 10.1 and also additional features and bug fixes See
More informationEnterprise Architect. User Guide Series. Profiling
Enterprise Architect User Guide Series Profiling Investigating application performance? The Sparx Systems Enterprise Architect Profiler finds the actions and their functions that are consuming the application,
More informationEnterprise Architect. User Guide Series. Profiling. Author: Sparx Systems. Date: 10/05/2018. Version: 1.0 CREATED WITH
Enterprise Architect User Guide Series Profiling Author: Sparx Systems Date: 10/05/2018 Version: 1.0 CREATED WITH Table of Contents Profiling 3 System Requirements 8 Getting Started 9 Call Graph 11 Stack
More informationIntroduction to Computation and Problem Solving
Class 3: The Eclipse IDE Introduction to Computation and Problem Solving Prof. Steven R. Lerman and Dr. V. Judson Harward What is an IDE? An integrated development environment (IDE) is an environment in
More informationSetting Up the Development Environment
CHAPTER 5 Setting Up the Development Environment This chapter tells you how to prepare your development environment for building a ZK Ajax web application. You should follow these steps to set up an environment
More informationNews in RSA-RTE 10.1 updated for sprint Mattias Mohlin, November 2017
News in RSA-RTE 10.1 updated for sprint 2017.46 Mattias Mohlin, November 2017 Overview Now based on Eclipse Neon.3 (4.6.3) Many general improvements since Eclipse Mars Contains everything from RSARTE 10
More informationNetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version.
NetBeans Tutorial For Introduction to Java Programming By Y. Daniel Liang This tutorial applies to NetBeans 6, 7, or a higher version. This supplement covers the following topics: Getting Started with
More informationNews in RSA-RTE 10.1 updated for sprint Mattias Mohlin, April 2017
News in RSA-RTE 10.1 updated for sprint 2017.16 Mattias Mohlin, April 2017 Overview Now based on Eclipse Neon.3 (4.6.3) Many general improvements since Eclipse Mars Contains everything from RSARTE 10 and
More informationi2b2 Workbench Developer s Guide: Eclipse Neon & i2b2 Source Code
i2b2 Workbench Developer s Guide: Eclipse Neon & i2b2 Source Code About this guide Informatics for Integrating Biology and the Bedside (i2b2) began as one of the sponsored initiatives of the NIH Roadmap
More informationewon Flexy JAVA J2SE Toolkit User Guide
Application User Guide ewon Flexy JAVA J2SE Toolkit User Guide AUG 072 / Rev. 1.0 This document describes how to install the JAVA development environment on your PC, how to create and how to debug a JAVA
More informationIntroducing HP NonStop Development Environment Version 2.0 for Eclipse (NSDEE 2.0)
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
More information1.00/1.001 HowTo: Install Eclipse
1.00/1.001 HowTo: Install Eclipse Spring 2008 1.00/1.001 will use the Eclipse Integrated Development Environment (IDE) to create, compile, and run Java programming assignments. Eclipse version 3.3.1.1
More informationMEAP Edition Manning Early Access Program Get Programming with Java Version 1
MEAP Edition Manning Early Access Program Get Programming with Java Version 1 Copyright 2018 Manning Publications For more information on this and other Manning titles go to www.manning.com welcome First,
More informationEclipse/Websphere. Page 1 Copyright 2004 GPL License. All rights reserved.
1. Installing plugin with Eclipse's update manager If you are using Eclipse 3.0 or higher you can use the update manager to automatically download and install the QJ-Pro plugin. Start Eclipse, go to the
More informationNoopur Gupta Eclipse JDT/UI Committer IBM India
Noopur Gupta Eclipse JDT/UI Committer IBM India noopur_gupta@in.ibm.com 1 2 3 Show Workspace Location in the Title Bar (-showlocation) OR 4 Show Workspace Name in the Title Bar (Window > Preferences >
More informationNews in RSA-RTE 10.1 updated for sprint Mattias Mohlin, January 2018
News in RSA-RTE 10.1 updated for sprint 2018.03 Mattias Mohlin, January 2018 Overview Now based on Eclipse Neon.3 (4.6.3) Many general improvements since Eclipse Mars Contains everything from RSARTE 10
More informationIBM i Debugger. Overview Service Entry Points Debugger Functions Attach to an IBM i Job Launch Configurations and Settings
1 IBM i Debugger IBM i Debugger Overview Service Entry Points Debugger Functions Attach to an IBM i Job Launch Configurations and Settings 2 Integrated Debugger - Overview RPG, COBOL, CL, C, and C++ IBM
More informationInstalling Eclipse (C++/Java)
Installing Eclipse (C++/Java) The 2017 suite of text-based languages, Java and C++, utilize the current version of Eclipse as a development environment. The FRC specific tools for the chosen language are
More informationActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015
ActiveSpaces Transactions Quick Start Guide Software Release 2.5.0 Published May 25, 2015 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED
More informationDebugging with PyCharm ~0~ What does it mean to debug a program?
Debugging with PyCharm ~0~ 1 What does it mean to debug a program? 2 To debug simply means to locate and remove program bugs, errors or abnormalities. It could be a period you put in the wrong spot or
More informationCode::Blocks Student Manual
Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of
More informationSECTION 2: HW3 Setup.
SECTION 2: HW3 Setup cse331-staff@cs.washington.edu slides borrowed and adapted from Alex Mariakis,CSE 390a,Justin Bare, Deric Pang, Erin Peach, Vinod Rathnam LINKS TO DETAILED SETUP AND USAGE INSTRUCTIONS
More informationSimplifying Enterprise Installation of IBM Rational ClearCase
Simplifying Enterprise Installation of IBM Rational ClearCase Using the IBM Rational ClearCase Remote Client plug-in and the Eclipse SDK Fred Bickford IV Senior Advisory Software Engineer ClearCase Customer
More informationChapter 12 Visual Program Debugger
Chapter 12 Visual Program Debugger In the previous chapter on programs a section titled Getting programs to do what you want discussed using the log to trace how programs execute. That is a useful technique
More informationBefore you start working with Java, you need to set up a Java development
Setting Up the Java Development Environment Before you start working with Java, you need to set up a Java development environment. This includes installing the Java Standard Edition (SE) Development Kit
More informationSection 2: Developer tools and you. Alex Mariakakis (staff-wide)
Section 2: Developer tools and you Alex Mariakakis cse331-staff@cs.washington.edu (staff-wide) What is an SSH client? Uses the secure shell protocol (SSH) to connect to a remote computer o Enables you
More informationECE QNX Real-time Lab
Department of Electrical & Computer Engineering Concordia University ECE QNX Real-time Lab User Guide Dan Li 9/12/2011 User Guide of ECE Real-time QNX Lab Contents 1. About Real-time QNX Lab... 2 Contacts...
More informationJDB - QUICK GUIDE JDB - INTRODUCTION
http://www.tutorialspoint.com/jdb/jdb_quick_guide.htm JDB - QUICK GUIDE Copyright tutorialspoint.com JDB - INTRODUCTION Debugging is a technical procedure to find and remove bugs or defects in a program
More informationPOOSL IDE Installation Manual
Embedded Systems Innovation by TNO POOSL IDE Installation Manual Tool version 4.1.0 7 th November 2017 1 POOSL IDE Installation Manual 1 Installation... 4 1.1 Minimal system requirements... 4 1.2 Installing
More informationGoogle Plugin for Eclipse
Google Plugin for Eclipse Not just for newbies anymore Miguel Mendez Tech Lead - Google Plugin for Eclipse 1 Overview Background AJAX Google Web Toolkit (GWT) App Engine for Java Plugin Design Principles
More informationMehran Sahami Handout #5 CS 106A September 26, 2018 Downloading Eclipse
Mehran Sahami Handout #5 CS 106A September 26, 2018 Downloading Eclipse Parts of this handout were written by Justin Manus and Brandon Burr and then wantonly updated by your loving CS106A staff. In CS106A,
More informationModule Road Map. 7. Version Control with Subversion Introduction Terminology
Module Road Map 1. Overview 2. Installing and Running 3. Building and Running Java Classes 4. Refactoring 5. Debugging 6. Testing with JUnit 7. Version Control with Subversion Introduction Terminology
More informationJavac and Eclipse tutorial
Javac and Eclipse tutorial Author: Balázs Simon, BME IIT, 2013. Contents 1 Introduction... 2 2 JRE and JDK... 2 3 Java and Javac... 2 4 Environment variables... 3 4.1 Setting the environment variables
More informationParallel Debugging. ª Objective. ª Contents. ª Learn the basics of debugging parallel programs
ª Objective ª Learn the basics of debugging parallel programs ª Contents ª Launching a debug session ª The Parallel Debug Perspective ª Controlling sets of processes ª Controlling individual processes
More informationCS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below.
CS520 Setting Up the Programming Environment for Windows Suresh Kalathur 1. Java8 SDK Java8 SDK (Windows Users) For Windows users, download the Java8 SDK as shown below. The Java Development Kit (JDK)
More informationThe Road to CCSv4. Status Update
The Road to CCSv4 Status Update Code Composer Studio v4 Summary What is it? Major upgrade to CCS Major architectural changes Based on Eclipse open source software framework New registration/licensing/updating
More informationNetBeans IDE Field Guide
NetBeans IDE Field Guide Copyright 2004 Sun Microsystems, Inc. All rights reserved. Debugging Java Applications Table of Contents Starting a Debugging Session...2 Debugger Windows...3 Attaching the Debugger
More informationMehran Sahami Handout #5 CS 106A September 27, 2017 Downloading Eclipse
Mehran Sahami Handout #5 CS 106A September 27, 2017 Downloading Eclipse Parts of this handout were written by Justin Manus and Brandon Burr and then wantonly updated by your loving CS106A staff. In CS106A,
More informationUsing Code Templates in DDE by Julian Robichaux, panagenda originally published on socialbizug.org, July 2013
Using Code Templates in DDE by Julian Robichaux, panagenda originally published on socialbizug.org, July 2013 One of the freebies that came with integrating Domino Designer with the Eclipse platform (DDE)
More informationSlide 1 CS 170 Java Programming 1 Duration: 00:00:49 Advance mode: Auto
CS 170 Java Programming 1 Eclipse@Home Downloading, Installing and Customizing Eclipse at Home Slide 1 CS 170 Java Programming 1 Eclipse@Home Duration: 00:00:49 What is Eclipse? A full-featured professional
More informationDownload and Installation Instructions. Eclipse Kepler Software for Windows
Download and Installation Instructions for Eclipse Kepler Software for Windows Updated October, 2017 The TeenCoder TM : Java Programming and TeenCoder TM : Android Programming courses use the Eclipse Kepler*
More informationIntro to Flex Debugging and Profiling
Intro to Flex Debugging and Profiling Jun Heider RealEyes Media 1 About B. C. D. Sr. Developer / Technical Trainer at RealEyes Media, LLC Flex (2-4) and AIR (0.x, 1.x) Developer from the ColdFusion (4-7)
More informationUsing Eclipse for Java. Using Eclipse for Java 1 / 1
Using Eclipse for Java Using Eclipse for Java 1 / 1 Using Eclipse IDE for Java Development Download the latest version of Eclipse (Eclipse for Java Developers or the Standard version) from the website:
More informationJCreator. Starting JCreator
1 of 12 9/29/2005 2:31 PM JCreator JCreator is a commercial Java environment available from http://www.jcreator.com. Inexpensive academic licenses and a free "limited edition" are available. JCreator runs
More informationGetting Started with Eclipse/Java
Getting Started with Eclipse/Java Overview The Java programming language is based on the Java Virtual Machine. This is a piece of software that Java source code is run through to produce executables. The
More informationAssignment 1. Application Development
Application Development Assignment 1 Content Application Development Day 1 Lecture The lecture provides an introduction to programming, the concept of classes and objects in Java and the Eclipse development
More informationThe ImageJ Eclipse Howto
13-10-2018 1/25 The ImageJ Eclipse Howto The ImageJ Eclipse Howto A guide on how to include ImageJ into Eclipse and develop plugins using this IDE. Author: Patrick Pirrotte (patrick@image-archive.org)
More informationSVN_Eclipse_at_home. 1. Download Eclipse. a. Go to: and select Eclipse IDE for Java Developers
1. Download Eclipse SVN_Eclipse_at_home a. Go to: http://www.eclipse.org/downloads/ and select Eclipse IDE for Java Developers b. Select a mirror (which just means select which identical copy you should
More informationInfor LN Studio Application Development Guide
Infor LN Studio Application Development Guide Copyright 2016 Infor Important Notices The material contained in this publication (including any supplementary information) constitutes and contains confidential
More information2 Getting Started. Getting Started (v1.8.6) 3/5/2007
2 Getting Started Java will be used in the examples in this section; however, the information applies to all supported languages for which you have installed a compiler (e.g., Ada, C, C++, Java) unless
More informationPaul Withers Intec Systems Ltd By Kind Permission of Matt White and Tim Clark
XPages Blast Paul Withers Intec Systems Ltd By Kind Permission of Matt White and Tim Clark Lead Developer at Matt White Creators of IdeaJam and IQJam Creator of XPages101.net Founder member of the LDC
More informationChapter 1 GETTING STARTED. SYS-ED/ Computer Education Techniques, Inc.
Chapter 1 GETTING STARTED SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: WSAD. J2EE business topologies. Workbench. Project. Workbench components. Java development tools. Java projects
More informationIBM VisualAge for Java,Version3.5. Distributed Debugger for Workstations
IBM VisualAge for Java,Version3.5 Distributed Debugger for Workstations Note! Before using this information and the product it supports, be sure to read the general information under Notices. Edition notice
More informationCustomized Enterprise Installation of IBM Rational ClearCase Using the IBM Rational ClearCase Remote Client plug-in and the Eclipse SDK
Customized Enterprise Installation of IBM Rational ClearCase Using the IBM Rational ClearCase Remote Client plug-in and the Eclipse SDK Fred Bickford IV Senior Advisory Software Engineer IBM Rational Customer
More informationA Quick Tour GETTING STARTED WHAT S IN THIS CHAPTER?
1 A Quick Tour WHAT S IN THIS CHAPTER? Installing and getting started with Visual Studio 2012 Creating and running your fi rst application Debugging and deploying an application Ever since software has
More informationThe NetBeans IDE is a big file --- a minimum of around 30 MB. After you have downloaded the file, simply execute the file to install the software.
Introduction to Netbeans This document is a brief introduction to writing and compiling a program using the NetBeans Integrated Development Environment (IDE). An IDE is a program that automates and makes
More informationIBM VisualAge for Java,Version3.5. Domino AgentRunner
IBM VisualAge for Java,Version3.5 Domino AgentRunner Note! Before using this information and the product it supports, be sure to read the general information under Notices. Edition notice This edition
More informationGDB Tutorial. A Walkthrough with Examples. CMSC Spring Last modified March 22, GDB Tutorial
A Walkthrough with Examples CMSC 212 - Spring 2009 Last modified March 22, 2009 What is gdb? GNU Debugger A debugger for several languages, including C and C++ It allows you to inspect what the program
More informationICOM 4015 Advanced Programming Laboratory. Chapter 1 Introduction to Eclipse, Java and JUnit
ICOM 4015 Advanced Programming Laboratory Chapter 1 Introduction to Eclipse, Java and JUnit University of Puerto Rico Electrical and Computer Engineering Department by Juan E. Surís 1 Introduction This
More informationGetting Started (1.8.7) 9/2/2009
2 Getting Started For the examples in this section, Microsoft Windows and Java will be used. However, much of the information applies to other operating systems and supported languages for which you have
More informationLinuxScope-JTD Installation Guide. Version 4.0.0
LinuxScope-JTD Installation Guide Version 4.0.0 Platform Support LinuxScope-JTD v4.0.0 has been tested on the following platforms: Linux Ubuntu 10.04 and 11.10 (others will probably work) Windows XP (Other
More informationSECTION 2: Loop Reasoning & HW3 Setup
SECTION 2: Loop Reasoning & HW3 Setup cse331-staff@cs.washington.edu Review: Reasoning about loops What is a loop invariant? An assertion that always holds at the top of a loop Why do we need invariants?
More informationUsing XML and RDBMS Data Sources in XPages Paul T. Calhoun NetNotes Solutions Unlimited, Inc
Using XML and RDBMS Data Sources in XPages Paul T. Calhoun NetNotes Solutions Unlimited, Inc 2010 by the individual speaker Sponsors 2010 by the individual speaker Speaker Information Independent Consultant,
More informationCS-Studio Display Builder
CS-Studio Display Builder Tutorial presented: Spring 2017 EPICS Collaboration Meeting at KURRI, Osaka, Japan Megan Grodowitz, Kay Kasemir (kasemir@ornl.gov) Overview Display Builder replaces OPI Builder
More informationCopyright 2018 MakeUseOf. All Rights Reserved.
15 Power User Tips for Tabs in Firefox 57 Quantum Written by Lori Kaufman Published March 2018. Read the original article here: https://www.makeuseof.com/tag/firefox-tabs-tips/ This ebook is the intellectual
More informationGoogle Drive: Access and organize your files
Google Drive: Access and organize your files Use Google Drive to store and access your files, folders, and Google Docs anywhere. Change a file on the web, your computer, or your mobile device, and it updates
More informationConfiguring GNS3 for CCNA Security Exam (for Windows) Software Requirements to Run GNS3
Configuring GNS3 for CCNA Security Exam (for Windows) Software Requirements to Run GNS3 From Cisco s website, here are the minimum requirements for CCP 2.7 and CCP 2.8: The following info comes from many
More informationBASICS OF THE RENESAS SYNERGY PLATFORM
BASICS OF THE RENESAS SYNERGY PLATFORM TM Richard Oed 2017.12 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues
More informationOPEN THE HOTLINE CLIENT
OPEN THE HOTLINE CLIENT Everything in the Hotline universe starts with the Client Toolbar; it launches all of the Client s major functions. 1 Double-click the Hotline icon on your desktop. The Hotline
More informationMEDIA COMPUTATION DRJAVA. Lecture 11.3 November 7, 2008
MEDIA COMPUTATION DRJAVA Lecture 11.3 November 7, 2008 LEARNING GOALS Understand at practical level Where to get DrJava How to start DrJava Dr Java features How to add items to the classpath for DrJava
More informationRecording Narration in PowerPoint using ispring Free
Recording Narration in PowerPoint using ispring Free Narrated PowerPoint shows saved as-is tend to be very large files. This makes them cumbersome and difficult to upload and share with your students or
More informationNews in RSA-RTE 10.1 updated for sprint Mattias Mohlin, March 2017
News in RSA-RTE 10.1 updated for sprint 2017.10 Mattias Mohlin, March 2017 Overview Now based on Eclipse Neon-1 (4.6.1) Many general improvements since Eclipse Mars Note: Neon-2 (4.6.2) is not yet supported!
More informationIntroduction to Eclipse
Introduction to Eclipse Ed Gehringer Using (with permission) slides developed by Dwight Deugo (dwight@espirity.com) Nesa Matic (nesa@espirity.com( nesa@espirity.com) Sreekanth Konireddygari (IBM Corp.)
More informationBASICS OF THE RENESAS SYNERGY TM
BASICS OF THE RENESAS SYNERGY TM PLATFORM Richard Oed 2018.11 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues
More informationDebugging in AnyLogic. Nathaniel Osgood CMPT
Debugging in AnyLogic Nathaniel Osgood CMPT 858 4-5-2011 Avoiding Debugging Defensive Programming Offensive Programming Offensive Programming: Try to Get Broken Program to Fail Early, Hard Asserts: Actually
More informationthe NXT-G programming environment
2 the NXT-G programming environment This chapter takes a close look at the NXT-G programming environment and presents a few simple programs. The NXT-G programming environment is fairly complex, with lots
More informationTivoli Common Reporting V Cognos report in a Tivoli Integrated Portal dashboard
Tivoli Common Reporting V2.1.1 Cognos report in a Tivoli Integrated Portal dashboard Preethi C Mohan IBM India Ltd. India Software Labs, Bangalore +91 80 40255077 preethi.mohan@in.ibm.com Copyright IBM
More informationDebugging Linux With LinuxScope-JTD
Application Notes for Professional Developers of Embedded Systems #07-001 OVERVIEW Debugging Linux With LinuxScope-JTD The purpose of this Application Note is to show the user a general method for using
More informationPart 1: Understanding Windows XP Basics
542362 Ch01.qxd 9/18/03 9:54 PM Page 1 Part 1: Understanding Windows XP Basics 1: Starting Up and Logging In 2: Logging Off and Shutting Down 3: Activating Windows 4: Enabling Fast Switching between Users
More informationRTMS - Software Setup
RTMS - Software Setup These instructions are for setting up the RTMS (Robot Tracking & Management System) software. This software will run on your PC/MAC and will be used for various labs in order to allow
More informationAdministration Manual
Administration Manual SAP J2EE Engine 6.20 Contents About This Manual... 10 Target Audience and Prerequisites... 10 Structure... 10 Documentation Conventions... 11 Further Reading... 11 Administration
More informationTable of Contents. 1 Introduction Downloads Eclipse SDK Installation Eclipse Workspace Eclipse Preferences...
SDK Quickstar t S et Eclpse f or u Dig Pl ug - in De velo p me nt Table of Contents 1 Introduction... 3 2 Downloads... 4 3 Eclipse SDK Installation... 5 4 Eclipse Workspace... 7 5 Eclipse Preferences...
More informationCode::Blocks Student Manual
Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of
More informationVERSION JANUARY 19, 2015 TEST STUDIO QUICK-START GUIDE STANDALONE & VISUAL STUDIO PLUG-IN TELERIK A PROGRESS COMPANY
VERSION 2015.1 JANUARY 19, 2015 TEST STUDIO QUICK-START GUIDE STANDALONE & VISUAL STUDIO PLUG-IN TELERIK A PROGRESS COMPANY TEST STUDIO QUICK-START GUIDE CONTENTS Create your First Test.2 Standalone Web
More informationAt the shell prompt, enter idlde
IDL Workbench Quick Reference The IDL Workbench is IDL s graphical user interface and integrated development environment. The IDL Workbench is based on the Eclipse framework; if you are already familiar
More informationUsing Eclipse Che IDE to develop your codebase. Red Hat Developers Documentation Team :15:48 UTC
Using Eclipse Che IDE to develop your codebase Red Hat Developers Documentation Team 2018-12-20 14:15:48 UTC Table of Contents Using Eclipse Che IDE to develop your codebase...............................................
More informationTechnoversity Tuesdays
Technoversity Tuesdays Microsoft Windows 10 Overview, New Features, Tips and Tricks Technology training brought to you by Computer Education Support New Features Windows 10 is Microsoft s newest operating
More informationCOMP 110/401 APPENDIX: INSTALLING AND USING ECLIPSE. Instructor: Prasun Dewan (FB 150,
COMP 110/401 APPENDIX: INSTALLING AND USING ECLIPSE Instructor: Prasun Dewan (FB 150, dewan@unc.edu) SCOPE: BASICS AND BEYOND Basic use: CS 1 Beyond basic use: CS2 2 DOWNLOAD FROM WWW.ECLIPSE.ORG Get the
More informationIntroduction to Eclipse Rich Client Platform Support in IBM Rational HATS For IBM System i (5250)
Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS For IBM System i (5250) Introduction to Eclipse Rich Client Platform Support in IBM Rational HATS 1 Lab instructions This lab teaches
More informationExtended Search Administration
IBM Lotus Extended Search Extended Search Administration Version 4 Release 0.1 SC27-1404-02 IBM Lotus Extended Search Extended Search Administration Version 4 Release 0.1 SC27-1404-02 Note! Before using
More informationUsing SQL Developer. Oracle University and Egabi Solutions use only
Using SQL Developer Objectives After completing this appendix, you should be able to do the following: List the key features of Oracle SQL Developer Identify menu items of Oracle SQL Developer Create a
More information