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 Go to next message
Laurence North is currently offline Laurence NorthFriend
Messages: 3
Registered: July 2009
Junior Member
PHP Development Tools (PDT) 7.1.0.202002212050

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 org.eclipse.core.jobs 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)".
!STACK 0
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(PHPLineTracker.java:47)
at org.eclipse.debug.internal.ui.views.console.ConsoleLineNotifier.connect(ConsoleLineNotifier.java:55)
at org.eclipse.ui.internal.console.ConsolePatternMatcher.addPatternMatchListener(ConsolePatternMatcher.java:232)
at org.eclipse.ui.console.TextConsole.addPatternMatchListener(TextConsole.java:454)
at org.eclipse.debug.internal.ui.views.console.ProcessConsole.<init>(ProcessConsole.java:257)
at org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager$ConsoleCreation.run(ProcessConsoleManager.java:75)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Re: Internal Error When Debugging PHP Code [message #1856104 is a reply to message #1823388] Mon, 21 November 2022 16:30 Go to previous message
Seb G is currently offline Seb GFriend
Messages: 1
Registered: November 2022
Junior Member
Hi, I'm getting the same issue and I've been googling for a few hours already without a joy. Where you able to figure out what is causing that issue?

Many thanks, Seb
Previous Topic:How do I get rid of the Proposals popup?
Next Topic:[Solved] PHPUnit PHAR Invalid
Goto Forum:
  


Current Time: Tue Nov 29 02:31:13 GMT 2022

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

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

Back to the top