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 144326 - Add support for editor features to dtrace scripts
Summary: Add support for editor features to dtrace scripts
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: DTrace (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Nasser Nouri
URL: http://www.netbeans.org/kb/docs/ide/N...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-19 01:41 UTC by slreynolds
Modified: 2009-11-26 02:52 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
hg diff --git of my second prototype (16.50 KB, patch)
2008-08-19 01:45 UTC, slreynolds
Details | Diff
nbs file for my second prototype (14.72 KB, text/plain)
2008-08-19 01:46 UTC, slreynolds
Details
Next version of the editor source (Schliemann grammar source file) (14.74 KB, text/plain)
2008-11-03 13:06 UTC, slreynolds
Details
Jar file for NetBean plugin that corresponds to the "Next version" of the nbs file (83.46 KB, application/octet-stream)
2008-11-03 13:08 UTC, slreynolds
Details

Note You need to log in before you can comment on or make changes to this bug.
Description slreynolds 2008-08-19 01:41:00 UTC
Add support for editor features to dtrace scripts using the Schliemann capabilities.
Comment 1 slreynolds 2008-08-19 01:45:08 UTC
Created attachment 67754 [details]
hg diff --git of my second prototype
Comment 2 slreynolds 2008-08-19 01:46:14 UTC
Created attachment 67755 [details]
nbs file for my second prototype
Comment 3 slreynolds 2008-08-19 01:48:26 UTC
I've added the file from my second prototype so anyone can see whatever progress I'm making. It seems to be progressing,
I like the structure, but it needs a lot of polishing and testing. We still have a ways to go.
Comment 4 slreynolds 2008-08-19 01:53:06 UTC
Oh, and I have signed the Sun Contributor agreement, and the patches and files that I've submitted to this Issuezilla
are my contributions under the agreement. 
Comment 5 William Leonard 2008-08-20 17:36:46 UTC
Excellent news! What's the easiest way to test this nbs file? Does it make sense to first package it as an nbm?
Comment 6 Nasser Nouri 2008-08-20 18:02:53 UTC
Brian,

Why do you want to package it as an nbs file? 

__Nasser
Comment 7 William Leonard 2008-08-20 18:58:28 UTC
I'd like it packaged as an nbm so I could install and test it. It's not clear to my how to install the nbs file, do I
just drop it in a directory somewhere?
Comment 8 slreynolds 2008-11-03 13:04:58 UTC
I have a new version of the editor that does a much better job of parsing d scripts. Here are the results from parsing
some of the d scripts that are bundeled in the dtrace netbeans plugin:

System
  sar-c.d - OK
  syscallbysysc.d - OK
  uname-a.d - OK
Disk
  bytesize.d - OK
  hotspot.d - OK
  iofile.d - OK
  iofileb.d - OK
  seeksize.d - fails because of array in variable declaration and array in predicate

I'll attach the new nbs file and the jar file that NetBeans is generating for me. (I'm naming the module MyDTrace to
faciltate independent testing of the editor).
Comment 9 slreynolds 2008-11-03 13:06:56 UTC
Created attachment 73119 [details]
Next version of the editor source (Schliemann grammar source file)
Comment 10 slreynolds 2008-11-03 13:08:49 UTC
Created attachment 73120 [details]
Jar file for NetBean plugin that corresponds to the "Next version" of  the nbs file