AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar una aplicación o un sitio web / Pruebas
  • Overview
  • How to?
  • Testing an HFSQL Client/Server connection
  • Mode 1: Launch project and debug next database connections
  • Mode 2: Debugging future database connections from a specific user for a specific application
  • Mode 3: Debugging an existing connection
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Debugging a connection to an HFSQL server
HFSQL Client/ServerDisponible solo con este tipo de conexión
Overview
The stored procedures and the triggers are debugged from the environment, with real execution on the server. It is possible to:
  • test a stored procedure: only from the editor (see Stored procedure).
  • connect the debugger onto an existing connection to trace a problem in real time.
This last case will be presented in this help page.
How to?

Testing an HFSQL Client/Server connection

To test an HFSQL Client/Server connection:
  1. Open the desired project in the editor.
  2. Display the analysis linked to the project: click on Load project analysis among the quick access buttons.
  3. On the "Proyecto" tab, in the "Modo de prueba" group, expand "Modo de prueba" and select "Debug on an HFSQL server".
  4. In the screen that is displayed, select:
    • the user identified on the server for debugging.
    • the mode for running the test and the debugger.
Three start modes are available:
  • Starting the project and debugging the next connections to the database.
  • Debugging the next connections to the database coming from a specific user for a specific application.
  • Debugging an existing connection.

Mode 1: Launch project and debug next database connections

This option is used to:
  • start the current project (without the debugger),
  • debug the stored procedures and the triggers used from the project on a database. The elements deployed on the server are run.
To use this debug mode:
  • The port used for debugging is port 27281 by default. This port must be opened if a firewall is used. Indeed, the communication between the development computer and the end-user computer is done via socket. This port can be modified in the HFConf.INI file.
  • The user who handles the database must have the rights to debug the database.
Remarks:

Mode 2: Debugging future database connections from a specific user for a specific application

This option allows you to debug the stored procedures and the triggers used from any connection that complies with the filter criteria. If the filter criteria are not restrictive enough, there may be too many calls to the debugger. The elements deployed on the server are run.
To use this debug mode:
  • The port used for debugging is port 27281 by default. This port must be opened if a firewall is used. Indeed, the communication between the development computer and the end-user computer is done via socket. This port can be modified in the HFConf.INI file.
  • The user who handles the database must have:
    • the rights to debug the database,
    • the rights to debug any connection.
Note: Function InTestMode returns False.

Mode 3: Debugging an existing connection

This option allows you to debug the stored procedures and the triggers used from an existing connection. The elements deployed on the server are run.
To use this debug mode:
  • The port used for debugging is port 27281 by default. This port must be opened if a firewall is used. Indeed, the communication between the development computer and the end-user computer is done via socket. This port can be modified in the HFConf.INI file.
  • The user who handles the database must have:
    • the rights to debug the database,
    • the rights to debug any connection.
Note: Function InTestMode returns False.
Versión mínima requerida
  • Versión 12
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 11/01/2025

Señalar un error o enviar una sugerencia | Ayuda local