作为一名初学者,小弟我表示调试很麻烦
作为一名菜鸟,我表示调试很麻烦
当然echo一下也可以,不过用过Visual studio的人,都会觉得它调试非常方便。
目前我在用ZEND STUDIO,但它貌似实现不了逐行调试,或者异常调试。或者是我不会用它吧。
另外,我在看教程的时候,里面新建一个xxxModel.class.php,系统会自动写好class xxxModel extends Model...,
这个要怎么设置呢?谢谢。
------解决方案--------------------
对于php的调试我也曾经发过牢骚...
zendstudio 可以逐行调试,不过我是在Linux 下使用,只是现在已经不用这个了。
是的更多的时候就是echo '' ;exit();
设置模板吧....
------解决方案--------------------
我也在用zend,竟然没发现有逐行调试,一致都是手动调试。眼睛一行行扫。
------解决方案--------------------
echo exit的飘过!
------解决方案--------------------
嗯, 见4楼,
单步调试必须在服务器端安装调试软件...因为php的运行是在服务器上.
zend studio本身不带web server, 你可以连接远程的linux或win上的各种web服务...
你可以安装zend studio配套的zend server(含zend debugger)....不过个人不是太喜欢.
为什么ms那些东东自带...因为他都是一家子的...
------解决方案--------------------
对于调试,我一般会var_dump(),然后die();
我感觉var_dump(),数据完整信息这个很重要
------解决方案--------------------
var_dump();die();
------解决方案--------------------
同上 多用 die() echo
------解决方案--------------------
根据情况选择调式方法:
echo
print_r
var_dump
JS:: alert
等等都是一些简单但实用的调式手段.
更深层的调式还是XDEBUG.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics





A dump file usually refers to a binary file, also known as a dump file or core dump file. This kind of file is generated by the computer system when it encounters a serious error or abnormal situation. It is used to store the status, stack, registers, memory images, logs and other information of the system or application.

In today's era of rapid technological development, programming languages are springing up like mushrooms after a rain. One of the languages that has attracted much attention is the Go language, which is loved by many developers for its simplicity, efficiency, concurrency safety and other features. The Go language is known for its strong ecosystem with many excellent open source projects. This article will introduce five selected Go language open source projects and lead readers to explore the world of Go language open source projects. KubernetesKubernetes is an open source container orchestration engine for automated

PHP implementation framework: ZendFramework introductory tutorial ZendFramework is an open source website framework developed by PHP and is currently maintained by ZendTechnologies. ZendFramework adopts the MVC design pattern and provides a series of reusable code libraries to serve the implementation of Web2.0 applications and Web Serve. ZendFramework is very popular and respected by PHP developers and has a wide range of

How to use ACL (AccessControlList) for permission control in Zend Framework Introduction: In a web application, permission control is a crucial function. It ensures that users can only access the pages and features they are authorized to access and prevents unauthorized access. The Zend framework provides a convenient way to implement permission control, using the ACL (AccessControlList) component. This article will introduce how to use ACL in Zend Framework

1.build.gradle configuration (increase) dependencies{implementation'com.squareup.okhttp3:okhttp:4.9.0'implementation'org.conscrypt:conscrypt-android:2.5.1'} 2.AndroidManifest.xml configures permissions in the application Add android:usesCleartextTraffic="true&q

"Go Language Development Essentials: 5 Popular Framework Recommendations" As a fast and efficient programming language, Go language is favored by more and more developers. In order to improve development efficiency and optimize code structure, many developers choose to use frameworks to quickly build applications. In the world of Go language, there are many excellent frameworks to choose from. This article will introduce 5 popular Go language frameworks and provide specific code examples to help readers better understand and use these frameworks. 1.GinGin is a lightweight web framework with fast

Laravel is a popular PHP framework that is highly scalable and efficient. It provides many powerful tools and libraries that allow developers to quickly build high-quality web applications. Among them, LaravelEcho and Pusher are two very important tools through which WebSockets communication can be easily implemented. This article will detail how to use these two tools in Laravel applications. What are WebSockets? WebSockets

Detailed explanation of the role and usage of the echo keyword in PHP PHP is a widely used server-side scripting language, which is widely used in web development. The echo keyword is a method used to output content in PHP. This article will introduce in detail the function and use of the echo keyword. Function: The main function of the echo keyword is to output content to the browser. In web development, we need to dynamically present data to the front-end page. At this time, we can use the echo keyword to output the data to the page. e
