Home
Explore
Submit Search
Upload
Login
Signup
Advertisement
Debugging PL/SQL from your APEX Applications with Oracle SQL Developer
Report
Jeff Smith
Follow
Distinguished Product Manager at Oracle Corp
May. 16, 2019
•
0 likes
1 likes
×
Be the first to like this
Show More
•
5,321 views
views
×
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Check these out next
Debugging PL/SQL with Oracle SQL Developer
Jeff Smith
REST Enabling your Oracle Database (2018 Update)
Jeff Smith
Oracle SQLcl: Formatting your Query Results
Jeff Smith
Oracle SQL Developer Tips and Tricks: Data Edition
Jeff Smith
RESTful Services for your Oracle Autonomous Database
Jeff Smith
Oracle SQL Developer Tips & Tricks
Jeff Smith
Pennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & Tricks
Jeff Smith
Oracle SQL Developer for SQL Server?
Jeff Smith
1
of
28
Top clipped slide
Debugging PL/SQL from your APEX Applications with Oracle SQL Developer
May. 16, 2019
•
0 likes
1 likes
×
Be the first to like this
Show More
•
5,321 views
views
×
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Download Now
Download to read offline
Report
Technology
You have an Oracle APEX Application. It runs some PL/SQL. You want to debug THAT PLSQL. Here's how!
Jeff Smith
Follow
Distinguished Product Manager at Oracle Corp
Advertisement
Advertisement
Advertisement
Recommended
What's New in Oracle SQL Developer for 2018
Jeff Smith
502 views
•
43 slides
Oracle SQL Developer Reports
Jeff Smith
2.8K views
•
21 slides
Oracle SQL Developer: You're Doing it Wrong!
Jeff Smith
1.7K views
•
43 slides
Change Management for Oracle Database with SQLcl
Jeff Smith
5K views
•
29 slides
PL/SQL All the Things in Oracle SQL Developer
Jeff Smith
1.9K views
•
32 slides
Oracle SQL Developer: 3 Features You're Not Using But Should Be
Jeff Smith
3.1K views
•
32 slides
More Related Content
Slideshows for you
(20)
Debugging PL/SQL with Oracle SQL Developer
Jeff Smith
•
19.7K views
REST Enabling your Oracle Database (2018 Update)
Jeff Smith
•
3.5K views
Oracle SQLcl: Formatting your Query Results
Jeff Smith
•
4.7K views
Oracle SQL Developer Tips and Tricks: Data Edition
Jeff Smith
•
4.2K views
RESTful Services for your Oracle Autonomous Database
Jeff Smith
•
5.4K views
Oracle SQL Developer Tips & Tricks
Jeff Smith
•
38.4K views
Pennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & Tricks
Jeff Smith
•
999 views
Oracle SQL Developer for SQL Server?
Jeff Smith
•
2.6K views
Oracle SQLcl
Barry McGillin
•
1.4K views
Oracle SQL Developer version 4.0 New Features Overview
Jeff Smith
•
9.9K views
SQLcl overview - A new Command Line Interface for Oracle Database
Jeff Smith
•
46.8K views
Oracle Database Management REST API
Jeff Smith
•
4.4K views
Oracle REST Data Services: POUG Edition
Jeff Smith
•
540 views
Oracle REST Data Services Best Practices/ Overview
Kris Rice
•
16.3K views
Pimping SQL Developer and Data Modeler
Kris Rice
•
1K views
Oracle REST Data Services: Options for your Web Services
Jeff Smith
•
14.6K views
PLSQL Developer tips and tricks
Patrick Barel
•
43.5K views
REST Enabling Your Oracle Database
Jeff Smith
•
44.6K views
Oracle SQL Developer Top 10 Tips & Tricks
Jeff Smith
•
31.8K views
Oracle SQL Developer for the DBA
Jeff Smith
•
12.8K views
Similar to Debugging PL/SQL from your APEX Applications with Oracle SQL Developer
(20)
All of the Performance Tuning Features in Oracle SQL Developer
Jeff Smith
•
17.8K views
UKOUG
Kellyn Pot'Vin-Gorman
•
1.5K views
Database as a Service, Collaborate 2016
Kellyn Pot'Vin-Gorman
•
430 views
Big Data Management System: Smart SQL Processing Across Hadoop and your Data ...
DataWorks Summit
•
2.3K views
Oracle Warehouse Builder to Oracle Data Integrator 12c Migration Utility
Noel Sidebotham
•
2.5K views
Oracle database 12c_and_DevOps
Maria Colgan
•
9.2K views
Mastering DevOps with Oracle
jeckels
•
17.7K views
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Mark Matthews
•
731 views
AWR and ASH in an EM12c World
Kellyn Pot'Vin-Gorman
•
662 views
IOUG at Coors Field ASH and AWR in EM12c!
Kellyn Pot'Vin-Gorman
•
753 views
OOW16 - Maintenance Strategies for Oracle E-Business Suite [CON6725]
vasuballa
•
832 views
OUGLS 2016: Guided Tour On The MySQL Source Code
Georgi Kodinov
•
314 views
HTTP/2 Comes to Java - What Servlet 4.0 Means to You
David Delabassee
•
13.7K views
Delivering Applications Continuously to Cloud
IBM UrbanCode Products
•
3.7K views
What is DevOps?
jeckels
•
2.5K views
Marcin Szałowicz - MySQL Workbench
Women in Technology Poland
•
313 views
Kellyn Pot'Vin-Gorman - Awr and Ash
gaougorg
•
344 views
Soa suite12c presentation @AMIS by Simone Geib
Getting value from IoT, Integration and Data Analytics
•
2.5K views
Oracle Database Lifecycle Management
Hari Srinivasan
•
2.3K views
New Not Your Father's Enterprise Manager
Kellyn Pot'Vin-Gorman
•
729 views
Advertisement
Recently uploaded
(20)
Internship_Report_Projects_have_done_Dur.pdf
HikMan2
•
0 views
Exploratory Data Analysis - A Comprehensive Guide to EDA.pdf
StephenAmell4
•
0 views
Digital Forencis.pdf
HridhayBharti2
•
0 views
AzureOpenAI.pptx
Udaiappa Ramachandran
•
0 views
Secure and manage your data while collaborating with Microsoft Teams.pptx
Jasper Oosterveld
•
0 views
Perform Mensuration and Calculation PPT.pptx
PauloAngeles4
•
0 views
kamil.pdf
AzeemAslam11
•
0 views
UiPath Community - Dallas - Studio Web.pdf
DianaGray10
•
0 views
Multi Standard Mixed Mode.pdf
MbBot
•
0 views
BIS Research conducted a webinar on Carbon Neutral Data Center Practices
BIS Research Inc.
•
0 views
Advanced Testing
Postman
•
0 views
SRE-Week-09-Refining-the-system-definition-05052023-114706pm.pptx
Hassankhalid894940
•
0 views
SampleDecPkg.ppt
Courtney Doutherd
•
0 views
End to End Process Transformation with Signavio.pdf
IgnacioPeredoCL
•
0 views
Studying the materials used in weapons during Chhatrapati Shivaji Maharaj era
Sagarwalanj
•
0 views
6 Key Financial Metrics to track.pdf
Fazal Paci
•
0 views
cross over cabling.ppt
JoeyGarancho1
•
0 views
PPT-Security-for-Management.pptx
RSAArcher
•
0 views
Agile Mindset, Ahmed Sidky PhD.pdf
FarizGhozali
•
0 views
My College Project
AKHILAASOK
•
0 views
Debugging PL/SQL from your APEX Applications with Oracle SQL Developer
Copyright © 2019
Oracle and/or its affiliates. All rights reserved. | Debugging PL/SQL with SQL Developer Jeff Smith Senior Principal Product Manager Jeff.d.smith@oracle.com || @thatjeffsmith Database Tools, Oracle Corp 1
Copyright © 2018,
Oracle and/or its affiliates. All rights reserved. | Not Just THAT SQLDev Guy… • Database Development Tools team • Product manager/story teller • I bother help people online, everywhere • Contact me for a free remote presentation for your group/company – Jeff.d.smith@oracle.com – @thatjeffsmith – https://www.thatjeffsmith.com
Copyright © 2016,
Oracle and/or its affiliates. All rights reserved. | thatJeffSmith on • 60+ Videos • Feature demos • Tips & Tricks • Short & Long Form – SQL Developer – SQLcl – Data Modeler – ORDS
Copyright © 2016,
Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017,
Oracle and/or its affiliates. All rights reserved. 5 SQL Developer Snapshot Time Tested Launched in 2005 An Industry Standard 5M+ Oracle DBAs & Developers Always Improving Quarterly Releases 4
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Project Raptor Early Adopter on OTN 2005 1.1 File Based PL/SQL editing Reports Ships with 11gR1 1.5.x Localizations - Japanese, Spanish, Italian, German, French, Portuguese, Chinese, & Koreans Ships with 11gR2 SQLDev v1.0 SQL Worksheet Procedure Editor The world takes notice! 1.5 Schema Copy/Diff/Export Thick connections Versioning TimesTen 2.1 Unit Testing Data Modeler Viewer Unshared SQL Worksheets 2007 201020092006 3.0 Full Data Modeler View > DBA SQL Tuning Advisor Query Builder 2008 2011 2012 3.1 New Database DIFF PDF Reports RMAN Data Pump 2013 3.2 APEX Listener / ORDS Support Database 12c Support Schema Service Support 4.0 Java 7 ASH/AWR/ADDM Color Coded Connections Command line Interface 4.0.3 Optimized Code Insight Oracle Big Data Appliance 2014 2015 2016 4.1 ORDS Included/Full GUI instance Viewer SQLcl Copy PDB to DBaaS Larry live demos PDB relocate @ OOW 4.2 Real Time SQL Monitoring Top SQL Report Formatter & Other Editor Enhancements Easier RESTful Services Development 2017 SQLcl New CLI Modern SQL*Plus Release History
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | 2017 2017.2 Bug Fixes Sharding Data Guard 17.3 & 17.4 Bug Fixes Quarterly Releases!!! 2018 Release History 18.1 Autonomous Data Warehouse Support New Welcome Screen/Connections SQL Injection Detection PL/Scope SQL Statement Support Better Formatting 18.2 & 3 PL/SQL Injection Detection Cloud data Loads SQL Developer Web
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | What does ‘debug’ mean? Run and watch? dbms/owa OUTPUT? Stare at your code until you decide to get coffee?
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | after code++ observe clean up DBMS/OWA_OUTPUT is not ‘bad’
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Coming? Going? Pause/Poke Play with what-if scenarios Interactive, step-by-step experience with your code
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | The PL/SQL Debugger SYS.DBMS_DEBUG_JDWP Native SQL Developer tooling $0.00
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | A Tale of Two Debugging Methods LOCAL Code/Session originates from SQL Developer REMOTE aka EXTERNAL aka Just in Time Session kicks off and runs from your program, which then connects back down to SQL Developer for you to debug
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Required PRIVS: DEBUG CONNECT SESSION & EXECUTE for PL/SQL 12c+ : Access Control Lists (Fine Grained Access) Open Code/Object in a code editor Compile for DEBUG Click the big ‘Bug’ button Local Debugging
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | What happens next the DATABASE will CONNECT to your Machine not CLIENT => SERVER but SERVER => CLIENT ACL in 12c+ allows the DB to reach out on the network if this is a bridge too far…
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | DBMS_DEBUG (PROBE API) DatabaseDebuggerDisableJDWP=true CLIENT => SERVER
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Not officially supported Not as feature rich External debugging won’t work
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. |
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Set a Breakpoint! OR Configure Preferences Start Debugging: Step Over Some Tips
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Breakpoints ‘stops’ execution on a specific line OR If a condition is met
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Step Over vs Step Into Step Over – Executes line 51, goes to line 54 Step Into – Opens program at line 51 for debugging
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Where do we go? Where do we go now? Where do we go? Oh, oh Where do we go? (Where do we go now?) Mind the Call Stack
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Remote/External Debugging – cue APEX! APEX runs, calls PL/SQL hits breakpoint SQLDev takes over do debugging control back to APEX
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Listen for Debug Requests SQL Developer Client Machine IP Make sure SQL Dev is listening when APEX rings the door bell
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Setup Debugger in your Application execute DBMS_DEBUG_JDWP.CONNECT_TCP(‘sqldev-IP’, port);
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Remember to set a breakpoint! Executable lines of code
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Run your APEX App Session trips breakpoint APEX will ‘hang’ SQL Developer will ‘blink’ to life Start debugging!
Copyright © 2014
Oracle and/or its affiliates. All rights reserved. | Debug!
Advertisement