This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 136312 - Want IDE source editor/debugger to recognise C++ with embedded SQL (.sc suffix)
Summary: Want IDE source editor/debugger to recognise C++ with embedded SQL (.sc suffix)
Status: RESOLVED DUPLICATE of bug 95752
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ gordonp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-02 20:21 UTC by Thomas Preisler
Modified: 2008-06-03 19:33 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2008-06-02 20:21:16 UTC
From CR 4978855:

Customer would like .sc files (C++ with embedded SQL) to be recognized and handled. This would involve modification to the source editor and debugger.
There has been a Request For Enhancement #4903749 on a similar issue.
The situation is that .sc files are handled by a preprocessor which converts the SQL code into valid C++ statements, but then the IDE does not see .cc files 
when the object file is debugged, as it wants to load  the original .sc file due to #line statements referring to it.
Customer was able to work around the issue and get to the .cc file by removing the #line statements and debug the C++ code but would like to able  
associate a .sc file to the C++ editor in the IDE.
Comment 1 Thomas Preisler 2008-06-02 20:30:47 UTC

*** This issue has been marked as a duplicate of 95752 ***