
#Js active timer debugging code
Task, remote task, table, remote object, object and code classes can only contain methods, so when you modify (double-click) these classes you go straight into the method editor. Select the Field Methods option from the context menu Open the remote form class (or window) from the Studio Browserĭouble-click on the field or object to open the Method Editor To open the method editor for a field or object Right-click on the background of the class design screen Open the design screen for the class from the Studio Browser Or for remote form and report classes (plus window, menu, and toolbar classes) you can Select the Class Methods option from the context menu Open your library and view its classes in the Browser You can access the method editor in a number of ways, depending on the type of object you’re working on and where you are in Omnis. You can insert, edit and debug the methods in your library using the Method Editor. Note that most of the example code in this chapter is generic and can be applied to all programming tasks however, some of the example code may relate to window classes only, but the code may be easily adapted to work with remote forms. You can also check your code using the Method Checker, available under the Tools menu and described in this chapter. The hierarchy of methods calling other methods is saved in the method stack and shown on the Stack menu. The debug options are also on the toolbar, which you can show using the View>Toolbar menu option. The debugger operations are controlled from the Debug and Options menus on the method editor menubar. The Omnis debugger provides several tools to help you monitor the execution of a method, including the ability to create watch variables, interrogate and edit the contents of variables during execution, and place a variety of breakpoint conditions, which when met will interrupt execution. Trace the execution of method lines and field valuesĭebug your live code, sending commands to the Trace logĭebug your code remotely on your live app server Run and step through methods using the Debugger Insert and Edit methods using the Code Editor and Code Assistant Using the Method Editor and Debugger, you can:

#Js active timer debugging plus
You can debug the methods and step through the code in your library using the Omnis Debugger, which is an integral part of the method editor, plus you can debug your Omnis code remotely over a network using the Remote Debugger.

You add variables and methods to the classes and objects in your library using the Method Editor which includes a free-type Code Editor to allow you to write Omnis code faster and more easily. Omnis Programming Chapter 4-Debugging Methods
