Indeed, you need to create a project in PDT. Do *not* make a dummy project. Rather, put your actual PHP application sources in it.
While debugging, PDT needs to be able to open files that the server is telling it that its traversing through, while running code between your break points. Also, how would you create breakpoints in PDT if not on your sources?... . You have to make sure that the sources in PDT and your server files are in sync. Otherwise, PDT might jump to non existing lines when asked by the *server* to show file somefile.php, line 167, while on your version of the file in PDT it will contain only 140 lines... . See my section on eSftp plugin for eclipse for one (convenient) way to sync PDT and server files.
Indeed, you need to create a project
Hi,
Indeed, you need to create a project in PDT. Do *not* make a dummy project. Rather, put your actual PHP application sources in it.
While debugging, PDT needs to be able to open files that the server is telling it that its traversing through, while running code between your break points. Also, how would you create breakpoints in PDT if not on your sources?... . You have to make sure that the sources in PDT and your server files are in sync. Otherwise, PDT might jump to non existing lines when asked by the *server* to show file somefile.php, line 167, while on your version of the file in PDT it will contain only 140 lines... . See my section on eSftp plugin for eclipse for one (convenient) way to sync PDT and server files.
Boaz