CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Perl

 How to use dubugger with code charge studio

Print topic Send  topic

Author Message
roeya


Posts: 181
Posted: 12/12/2004, 12:02 PM

I use a debugger with codecharge studio to debug my scripts on live server.

To do it follow the instructions below:

1.You will need Apache 2 for win32 running it as a process and not as service.

2.Download and install Devel:: ptkdb, as this depends on Tk, use the ppm tool (if you use Perl from ActiveState ).

3.In the published script change the first line from something like this
 #!/apache2/perl/bin/perl 

to this
#!/apache2/perl/bin/perl  -d:ptkdb

4.Use the browser to access the page and… the debugger opens magically….

5.You can put break points and save them, however when you need to break in a required file (where you put your custom code) you need small trick:
when the script loads in the debugger find the require statement and put breakpoint on it, run the script. It will stop on the break point. Step over the break point and you go to the file with the custom code, put a break point where you need and continue to run the script. Your next stop is in the custom code. There is one problem though -
The debugger forgets the break point in the required file so you have to reset it it everytime.

_________________
http://www.infoneto.com/
View profile  Send private message
eko
Posted: 07/22/2005, 4:00 AM

plase seriall number charge studio 2.3. gif to me

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.