Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Internal Error When Debugging PHP Code(An internal error occurs when debugging PHP code.)
Internal Error When Debugging PHP Code [message #1823388] Thu, 26 March 2020 02:31
Laurence North is currently offline Laurence NorthFriend
Messages: 3
Registered: July 2009
Junior Member
PHP Development Tools (PDT)

When I debug
<?php phpinfo(); ?>
on the built-in server, I find the following internal error in the Eclipse log. Xdebug is the debugger. The code runs correctly when not debugging.
!ENTRY 4 2 2020-03-25 21:05:26.949
!MESSAGE An internal error occurred during: "Creating console for C:\Program Files\Ampps\php\php.exe (Mar 25, 2020 9:05:26 PM)".
java.lang.ClassCastException: org.eclipse.debug.core.model.RuntimeProcess cannot be cast to org.eclipse.php.internal.debug.core.launching.PHPProcess
at org.eclipse.php.internal.debug.ui.console.PHPLineTracker.init(
at org.eclipse.debug.internal.ui.views.console.ConsoleLineNotifier.connect(
at org.eclipse.ui.internal.console.ConsolePatternMatcher.addPatternMatchListener(
at org.eclipse.ui.console.TextConsole.addPatternMatchListener(
at org.eclipse.debug.internal.ui.views.console.ProcessConsole.<init>(
at org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager$

Next Topic:eclipse checks syntax inside of quoted string
Goto Forum:

Current Time: Thu Apr 22 12:30:35 GMT 2021

Powered by FUDForum. Page generated in 0.01851 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top