0

I'm using Netbeans 7.3 and xDebugon WAMP. Here is my configuration of xDebugin php.ini:

zend_extension = "c:/wamp/bin/php/php5.4.3/ext/php_xdebug-2.2.3-5.4-vc9.dll"

[xdebug]
xdebug.remote_enable = on
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"

If I put a break point on my ajax script, it stops on the break point. If I go line by line with F8 to the end of the script, I get "500 Internal Server Error" as a result. Without the break point, everything is OK. I even get this error on my controller action in Yii. If I go with break point line by line, I get 500 error in the browser. Without the break point, it's working fine. I tried with other versions of xDebug, it's the same.

Any ideas?

2
  • 2
    I had some invalid watches in my debug window that triggered these errors, maybe that is the case in your case too? Try clearing your watches window, maybe it helps. Commented Sep 2, 2013 at 20:04
  • That was the problem, thank you! Commented Sep 2, 2013 at 20:14

1 Answer 1

1

500 (Internal Server Error) in phpstorm 9.0 when enabling xdebug breakpoints.

Validate your whatches for php session. Errors in whatches can generate errors in executing php code. Errors disapears when you disable xdebug listening or correct/remove whatches.

Sign up to request clarification or add additional context in comments.

1 Comment

That did it for me. I had some watches from a previous debug session in the watches list, that php couldn't evaluate. removed them and it works again. thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.