Tech Articles


DEPURAR EN POWER BUILDER CONSEJOS Y TRUCOS


  • Insertar un breakpoint.- Ejecute la opción de menú principal: Edit/ Insert BreakPoint
    • Requisito: Debes estar en el editor de código (script) .
  • Inicializar el depurador. Ejecute la opción de menú principal: Run / Debug nombre de su aplicación
    • Ejecute la opción Debug  / Start nombre de su aplicación
  • Ejecutar línea por línea.- F8
  • Detener el depurador.-  Debug/Stop
  • Ver el contenido de una variable.—Seleccione la variable, dar click derecho y escoger la opción quickwatch
    • Requisito: Debe estar ejecutándose la aplicación en modo de depuración

 

Truco: Algunas veces tenemos un error en tiempo de ejecución que nos hace que Powerbuilder se cierre, para localizar en donde ocurre esto la opción Depurar en tiempo de ejecución ayuda mucho.

Para encender esta opción.- Ejecute la opción de menú principal: Tools/ System Options.. y en la pestaña General encienda la opción (palomear)  Just in time Debugging

Ejecute su aplicación y usualmente en donde tiene el error Powerbuilder se detendrá

  • Requisito: Limpie todos los breakpoints para facilitar la tarea

 

  • Quiere saber que fue todo lo que ejecuto powerbuilder hasta este momento.
  • Enciende la opción: Enable PBDebugTracing
  • Indicale a powerbuilder el archivo de salida.- Opción PBDebug Output Path
  • Quiere saber qué sentencias SQL ejecuto hasta el momento.
    • Apóyate en la opción “TRACE” que permite al objeto de transacción generar un log.
      • sqlca.dbms = "Trace manejador de base de datos"
    • Distingue quien ejecuto el SQL : OUTPUT BUFFER (PowerScript) , OUTPUT BUFFER (DataWindow)
Comments (0)
There are no comments posted here yet

Find Articles by Tag

Trial External Functions iOS Database Table Data Installation Deployment UI Modernization CoderObject Database Table Platform JSONGenerator Error C# CI/CD .NET DataStore Azure PBNI Menu Android Debug Open Source PDF SnapObjects OAuth SVN WinAPI HTTPClient Transaction IDE Bug PBDOM TLS/SSL Interface Web API Source Control Database Connection InfoMaker Import JSON Export Repository License Debugger XML Service UI Windows OS Encoding Encryption Stored Procedure SQL Server RibbonBar RibbonBar Builder Configuration PBVM Event Handler Resize TreeView Oracle COM TFS Messagging Source Code Visual Studio DevOps ODBC Migration Text Web Service Proxy DataWindow JSON Import PowerServer Mobile DataWindow Outlook PostgreSQL ODBC driver Icon MessageBox Array .NET Std Framework Design Git OLE REST OAuth 2.0 PFC 32-bit Variable BLOB Script Performance PowerScript (PS) PowerBuilder (Appeon) Excel Graph JSONParser Event PowerServer Web SqlModelMapper Class UI Themes PowerBuilder Compiler .NET Assembly Data Filter Automated Testing Elevate Conference DataType Database Painter File Windows 10 Icons NativePDF Linux OS 64-bit SQL Authentication Branch & Merge PostgreSQL Application Debugging RESTClient JSON Database PDFlib Sort Syntax Validation Expression Database Table Schema SqlExecutor API Authorization Model CrypterObject Mobile ActiveX DLL SOAP TortoiseGit Testing Database Profile PowerBuilder RichTextEdit Control WebBrowser Window DragDrop Export JSON Database Object SDK OrcaScript Event Handling Jenkins SnapDevelop Charts GhostScript