{
  "id": 22191677,
  "title": "How to Debug a Final Year Project That Stopped Working Before Submission",
  "url": "https://urgent.news/2026/11/27/how-to-debug-a-final-year-project-that-stopped-working-before",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T16:50:23.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/fyp_services/how-to-debug-a-final-year-project-that-stopped-working-before-submission-3n4c"
  },
  "original_language": "en",
  "account": "As the final deadline looms, students often face the frustration of their projects suddenly coming to a halt. When this occurs, especially with just a few days remaining until submission, panic sets in and the temptation to reinstall everything is strong. However, there is a systematic approach to debugging that can help resolve the issue efficiently.\n\nFirstly, it is crucial to document exactly what has changed. This could be a newly installed package, an edited database, a recent code merge from a group member, or moving the project to a new laptop. Ninety percent of sudden project failures can be traced back to one of these four factors. For those using Git, running `git log --oneline` and `git diff` can quickly pinpoint the change that led to the problem.\n\nNext, pay attention to the first error message in the logs, rather than the last one that appears. Error logs often create a cascading effect, with the initial error being the root cause. Addressing errors one by one, starting from the top of the error cascade, and re-running the project after each fix can help isolate and resolve the issue systematically.\n\nThirdly, it's important to separate the different layers of the project to identify where the problem lies. If the frontend is not loading data, open the API URL directly in a browser or use Postman to test the API. If the API responds, the problem is likely in the frontend call. Conversely, if the API does not respond, test the database connection using a simple query. This method allows you to isolate the broken layer in just a few minutes, saving valuable time compared to an hour of guessing.\n\nFourthly, check the common, but often overlooked, issues. Ensure that the correct port is being used and that the API base URL still points to the correct location, even if it's running on a different machine. Verify that any expired tokens are up to date and that a `.env` file, which may contain sensitive configuration settings, has been properly copied across all environments. A misconfigured database service that is not running can also cause unexpected failures.\n\nLastly, once the project starts running again, it's essential to freeze a working copy. Immediately commit all changes and copy the entire project folder, along with a database export, to a separate drive. This backup ensures that if the project breaks again before submission, you have a reliable working copy to fall back on. This approach is far preferable to trying to maintain the perfect project state just before the deadline. If you find yourself stuck at the layer-isolation stage for more than a day, seeking guided help from services that specialize in FYP support can save considerable time. These services can provide targeted debugging support to help you understand the fix well enough to explain it during your viva.",
  "summary": "Every semester there is a group whose project worked last week and refuses to run today, usually a few days before submission. Panicking and reinstalling everything makes it worse. Work through the failure the way a developer would, in this order: 1. Write down exactly what changed. New package installed? Database edited by hand? Code merged from a group member? Moved the project to a new laptop?…",
  "summary_source": "publisher",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}