---
title: "eclipse c++不能 debug "
author: "liangfeng366"
date: "2012-08-20T22:38:14Z"
tags: []
categories: ["编程语言"]
slug: "eclipse-c-debug"
draft: false
lastmod: "2012-08-20T22:38:14Z"
id: 1640339
url: "https://liangfeng366.iteye.com/blog/1640339"
---

eclipse c++ debug 老是出现" No symbol table is loaded.  Use the "file" command.
找到了问题：
The latest Eclipse/CDT provides a new integration of GDB called DSF-GDB. It has more features and provides more performance. My guess is that you are using DSF-GDB automatically.
解决方案：
The problem is that breakpoints don't get properly set in a dll that is not already loaded. You can try two things,
1- set the breakpoint _after_ the dll has been loaded (which is not always convenient)
2- use the old GDB integration instead (CDI). To do that, in your launch window, at the bottom, you'll find a hyperlink; click on it and use the "Standard ..... " debugger integration