How to Access a Runtime Query

A "runtime query" is a set of instructions that execute after software is compiled and run on a computer. "Design time" is when the programmer creates code, but runtime is while the program is executing. To analyze or debug code during runtime, you must set a break point in the Visual Studio software, which is the main workspace used to create Windows applications.

Instructions

    • 1

      Double-click your Visual Studio project file. The Visual Studio software loads and the project with the query opens.

    • 2

      Right-click the form and select "View Code." A window opens with all the code for the project file. Scroll down to the line of code that has the query.

    • 3

      Click the "Debug" menu item at the top of the Visual Studio window. Click "New," then click "New Data Breakpoint." A red circle is created next to the query code.

    • 4

      Press the "F5" key. The application compiles and the code runs until it reaches the break point. You can now access the query code and view values and how the query executes in the program.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured