devel

pedrorocha's picture

Debugando com Drupal

Quando temos que desenvolver algo além de um site "simples", é certo que vamos ter que sujar as mãos e criar um pouco de código que seja. Se existirem regras mais complexas, vem outra necessidade: debug.

Na página do projeto Devel(http://drupal.org/project/devel), tem um link sobre esse assunto que é leitura obrigatória, podemos dizer, detalhando a utilização desse módulo que é fundamental na hora de desenvolver módulos.

"This page gives a brief overview of some of the tools you can use to make Drupal development and debugging easier.

Login to post comments · Read more

Identifying D6 Performance Issue with Devel and xDebug

I'm having some trouble diagnosing a performance issue on my D6 site. Devel returns the following information:

Executed 131 queries in 129.41 milliseconds. Queries taking longer than 5 ms and queries executed more than once, are highlighted. Page execution time was 2941.81 ms.

Clearly the issue is not with queries. Next I ran xDebug to profile the script execution for this page. Here is the summary output from xDebug:

File: c:\documents and settings\administrator\sites\acquia-drupal-site\acquia-drupal\idex.php
Self time: - (-) Cumulative Time: 374ms (100.0%)

2 comments · Read more

new module: query recorder

Just posted a little module I wrote... let's you log all insert/update/delete queries so you can transfer changes from one site to another by dumping the sql.

http://drupal.org/node/99734

c.h.u.d.

1 comment
Syndicate content