Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] GDB reporting "No symbol 'whatever' in curren t context."

Well, I don't think the current behaviour is acceptable:
- when you move the mouse and pause slightly over a random area of the source window, the console window switches to the front and displays a meaningless (to the user) error message.

In the circumstances, suppressing the error seems the best thing to do. Shall I raise a PR?

--
Derek


Alain Magloire wrote:

From: cdt-debug-dev-bounces@xxxxxxxxxxx [mailto:cdt-debug-dev-
bounces@xxxxxxxxxxx] On Behalf Of Derek Morris
Sent: Friday, November 10, 2006 12:54 PM
To: CDT Debug developers list
Subject: [cdt-debug-dev] GDB reporting "No symbol 'whatever' in current
context."

Hi,

I am using CDT 3.1.1 with GDB 6.4.5 (for ARM)

During debug, when my mouse moves over any word in the source Window, GDB
reports in the console window:

  "No symbol 'whatever' in current context."

Where 'whatever' is the word under the mouse.

If I happen to be over a C variable, then it shows the value in a tooltip.
However, if I am over anything else, including comments, C structures etc,
it
reports the error. This is especially annoying as the focus is set to the
console window.

Any ideas as to what is going wrong?


There is nothing going wrong, the suite of characters are pass to the debug
engine.  We could:

- suppress the error
- use the C/C++ parser for validation before sending string for evaluation.
In the past the C/C++ parse (DOM) was not reliable enough to do this.
_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev



Back to the top