473,385 Members | 1,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Eclipse CDT error parser for external tool

Hi everyone!

I created an error parser using the existing CDT stuff by basically
copying some of the GNU / make / ... error parsers' code. I also added
the extension point for the new error parser, and by debugging I see,
that when activated, the new error parser is actually used to parse
the regular build output.

The reason for writing this error parser though was to parse the
output produced by a batch file, run as "external tool". And this is
what does not work. The batch output is written to what seems to be
another "instance" of the console than the regular make/build output.
And the output to this console is not parsed by any of the error
parsers.

Can anyone tell me how to run the error parser on this output? It does
not necessarily have to be in the way I tried it so far, any solution
would be helpful.

By the way: Is there maybe already a plugin that provides a
configurable output/error parser (e.g. like in textpad: regex for
error output is configurable per "external tool")

Thanks in advance,
Christian

Nov 5 '07 #1
3 3806
On Mon, 05 Nov 2007 04:56:31 -0800, up********@gmx.net wrote in
comp.lang.c:
Hi everyone!

I created an error parser using the existing CDT stuff by basically
copying some of the GNU / make / ... error parsers' code. I also added
the extension point for the new error parser, and by debugging I see,
that when activated, the new error parser is actually used to parse
the regular build output.

The reason for writing this error parser though was to parse the
output produced by a batch file, run as "external tool". And this is
what does not work. The batch output is written to what seems to be
another "instance" of the console than the regular make/build output.
And the output to this console is not parsed by any of the error
parsers.

Can anyone tell me how to run the error parser on this output? It does
not necessarily have to be in the way I tried it so far, any solution
would be helpful.

By the way: Is there maybe already a plugin that provides a
configurable output/error parser (e.g. like in textpad: regex for
error output is configurable per "external tool")
And what is your question about the C programming language?

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html
Nov 6 '07 #2
On 6 Nov., 05:21, Jack Klein <jackkl...@spamcop.netwrote:
On Mon, 05 Nov 2007 04:56:31 -0800, ups_gen...@gmx.net wrote in
comp.lang.c:


Hi everyone!
I created an error parser using the existing CDT stuff by basically
copying some of the GNU / make / ... error parsers' code. I also added
the extension point for the new error parser, and by debugging I see,
that when activated, the new error parser is actually used to parse
the regular build output.
The reason for writing this error parser though was to parse the
output produced by a batch file, run as "external tool". And this is
what does not work. The batch output is written to what seems to be
another "instance" of the console than the regular make/build output.
And the output to this console is not parsed by any of the error
parsers.
Can anyone tell me how to run the error parser on this output? It does
not necessarily have to be in the way I tried it so far, any solution
would be helpful.
By the way: Is there maybe already a plugin that provides a
configurable output/error parser (e.g. like in textpad: regex for
error output is configurable per "external tool")

And what is your question about the C programming language?

--
Jack Klein
Home:http://JK-Technology.Com
FAQs for
comp.lang.chttp://c-faq.com/
comp.lang.c++http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++http://www.club.cc.cmu.edu/~ajo/docs/FAQ-acllc.html- Zitierten Text ausblenden -

- Zitierten Text anzeigen -
You might want to check this group to see that there have already been
some questions about Eclipse here. And since the question is connected
to _CDT_ as I mentioned, I do not think that I am completely wrong...

But if there is a tools.eclipse.myproblem group (which I have not
found so far) please feel free to let me know.

Chris

Nov 6 '07 #3
On Tuesday 06 Nov 2007 2:01 pm up********@gmx.net < up********@gmx.net>
wrote in article
<11**********************@57g2000hsv.googlegroups. com>:
On 6 Nov., 05:21, Jack Klein <jackkl...@spamcop.netwrote:
>On Mon, 05 Nov 2007 04:56:31 -0800, ups_gen...@gmx.net wrote in
comp.lang.c:
Hi everyone!
I created an error parser using the existing CDT stuff
<snip>
>And what is your question about the C programming language?
You might want to check this group to see that there have already been
some questions about Eclipse here. And since the question is connected
to _CDT_ as I mentioned, I do not think that I am completely wrong...

But if there is a tools.eclipse.myproblem group (which I have not
found so far) please feel free to let me know.
What about the Eclipse newsgroups?

<http://www.eclipse.org/newsgroups/>

Nov 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: peter | last post by:
Hello all, I would like to debug my python libraries, written in c++, with GDB (gnu debugger) I'm using the mingw compiler in a windows environment. As development environment I use eclipse...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
4
by: Chuck | last post by:
Hello, I am new to the Eclipse IDE. I am using pydev plug-in to create python projects. Is there a way to create custom builders to build certain types of files? I have done this with...
0
by: christian.eickhoff | last post by:
Hello Everyone, I am an unexperienced Linux developer currently tying to implement a binary coder for XML metadata in c++. I am using Linux (Ubuntu) OS as well as Eclipse (including CDT) as...
10
by: k.jayachandran | last post by:
I have a very curious and unique problem here. I'm creating a parser using bison and flex. i did all the development work in a linux environment. the project includes the source files output from...
6
by: MaStA | last post by:
Hello, I am trying to setup Eclipse once again to work for compiling C++. I have followed several guides and still have had no luck. I get an error of launch failed no binaries when I try to...
6
by: king kikapu | last post by:
Hi, this is actually goes to whoever is using Eclipse and Eric4, the IDE that comes bundled with PyQt. I was using Eclipse until i saw Eric4 and i started experiment with it, very nice work. ...
1
by: Harris Kosmidhs | last post by:
Hello, I recently installed eclipse with the php plugin. My question is: can eclipse be used in a medium size site where php file include others? Or when you use an MVC approach. To be more...
4
by: vijayarl | last post by:
Hi All, i have the following software installed in my system : 1.OS: Win2k 2.Eclipse Version used :3.4.0 & even the perl too... 1. I have imported the my own perl project in Eclipse, when i...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.