Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Problem marker displays incorrect Resource for error(The file in reported problems is ignored)
Problem marker displays incorrect Resource for error [message #716662] Wed, 17 August 2011 22:53
Timothy Wall is currently offline Timothy Wall
Messages: 21
Registered: July 2009
Junior Member
When I run my external interpreter, it may include one or more files when it encounters an "include" directive. Any errors reported while parsing those files contain the included file's name and line number of the error.

If I report these errors to an IProblemReporter in my source parser's parse routine, they show up in the problems pane with "Resource" specified as the "main" file, and "Location" specified as that of the included file.

The "Resource" should be the included file, *not* the main file. It is either a bug to display the "main" file as the resource (instead of the included file), or it's a bug to display the location as the error line of the included file.

My project configuration explicitly includes the "main" source file, but does not include the included files in the project sources (to avoid compiling them all on their own). Note that the same error occurs when I have all included files in the project sources list as well, so it's not like the main file is getting stuck in the marker just because the included file isn't within the project sources.

[Updated on: Wed, 17 August 2011 22:59]

Report message to a moderator

Previous Topic:Populating "Problems" Tab
Next Topic:Are there any other debugger engine that DLTK is supporting than Komodo ActiveState?
Goto Forum:
  


Current Time: Mon Sep 01 21:59:03 EDT 2014

Powered by FUDForum. Page generated in 0.01748 seconds