Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Advanced PowerBuilder

HomePrevious Lesson: Creating C++ Classes
Next Lesson: Limits of a C++ User Object

Debugging DLLs

To debug a DLL, open the user object and invoke the C++ editor. Select Targets/Debug from the menu. This option invokes the Watcom debugger. The debugger for Windows 95/Windows NT is GUI based and as such is a great improvement on the old DOS version. It comes with a symbols file for PowerBuilder and actually allows you to walk through the internals of the PowerBuilder product, along with your own code.

From the Modules window, double-click on the file in which the actual code is placed, i.e. cuo_facd.cpp. This will display the code in the main window. Click on the square brackets on the line where you want to put break and select "Run/Go" from the menu. This will bring the control back to PowerBuilder. Close the User Object painter and click on the run icon. As soon as the code reaches the line on which you put the break, control switches to Watcom debugger where you can execute step-by-step by pressing the F10 function key.
HomePrevious Lesson: Creating C++ Classes
Next Lesson: Limits of a C++ User Object

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com