FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

No debugging possible as soon as REGEX instruction involved

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
ChristianX



Joined: 25 Oct 2009
Posts: 2
Location: Germany

PostPosted: Sun Oct 25, 2009 10:47 pm    Post subject: No debugging possible as soon as REGEX instruction involved Reply with quote

Hello World,

I'm using Netbeans 6.7.1 with C/++, Cygwin, boost-library seperately...
A simple application has been built successfully - with regex instructions!.
Problem 1:
The debugger works only with outcommented regex-instructions, see
below!
Problem 2:
With a regex instruction the Command F6 or starting the executable
(Release) did not work!

#include <stdlib.h>
#include <iostream>
#include <string>
#include <boost/regex.hpp>
using namespace std;
using namespace boost;

int main(int argc, char** argv) {
string s = "Hello World!";
cout << s << endl;

//regex re(",|:|-");
:
:
return (EXIT_SUCCESS);
}

Who can help me to solve my problems :-)
Christian
Back to top
View user's profile Send private message
Egor Ushakov
Posted via mailing list.





PostPosted: Mon Oct 26, 2009 1:44 pm    Post subject: No debugging possible as soon as REGEX instruction involved Reply with quote

Christian,

did you follow all recommendations from:
http://www.fischerlaender.net/development/using-boost-c-libraries-with-gcc-g-under-windows

Anyway I have the same issue as you,
filed a bug: http://www.netbeans.org/issues/show_bug.cgi?id=175429
Feel free to comment there

Thanks,
Egor

ChristianX wrote:
Quote:
Hello World,



I'm using Netbeans 6.7 with C/++, Cygwin, boost-library seperately...

A simple application has been built successfully - with regex instructions!.

Problem 1:

The debugger works only with outcommented regex-instructions, see

below!

Problem 2:

With a regex instruction the Command F6 or starting the executable

(Release) did not work!



#include <stdlib.h>

#include <iostream>

#include <string>

#include <boost/regex.hpp>

using namespace std;

using namespace boost;



int main(int argc, char** argv) {

string s = "Hello World!";

cout << s << 'endl';



//regex re(",|Neutral-");

:

:

return (EXIT_SUCCESS);

}



Who can help me to solve my problems :-)

Christian










Back to top
ChristianX



Joined: 25 Oct 2009
Posts: 2
Location: Germany

PostPosted: Mon Oct 26, 2009 2:14 pm    Post subject: no debugging with regex Reply with quote

Thank you Egor,

yes I followed this link ! (And I'm thankful for it... )
I compiled the libraries regex,... in E:\boost_1_40_0 with bjam.exe.
The results I copied from .....\bin.v2\libs to E:\boost_1_40_0\libs.
Next time i will file the bug too.

What a pity!
Christian
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB