Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Analyzer does not see source files

807575Apr 8 2009 — edited Apr 22 2009
Hi,

I am currently evaluating the use of "collect" and "analyzer" in our environment, which is RHEL4 on x64with gcc4.21.
- I compiled everything with -g
- the shared libraries do contain source file paths (checked with strings *.so)
- I am using "collect -o tt.er myprogram"
- I am running "analyzer tt.er" afterwards.

Analyzer does display some sensible times and the symbols. But when I drill down, it will only display assembly code for all of my routines. The selected object summary always displays the symbol name, the .so file name, etc, but "Source file: (unknown)". The analyzer version is "Sun Analyzer 7.6 Linux_i386 2007/05/03"

Where is the mistake?

Thanks!

Georg

Comments

thatJeffSmith-Oracle

We're using Java 21, and it's not straightforward to add the javascript engine support for MLE Java 21 :(

Stay tuned…

Carl Singer

Is there a way to add a “hook” to launch into SQLcl as is done in SQL Dev or is that a future thing?

thatJeffSmith-Oracle

Sorry, not sure I understand what you mean. Can you describe in more detail what you're looking for?

Paavo

How about running sqlcl local installation in vscode Terminal window and

1.) while editing the file - select the code and use “Terminal: Run Selected Text in Active Terminal”

SQL> script
  2   ctx.write("Hello World !\n");
  3* /
Hello World !
SQL> 

2.) or use the e-trick:

SQL> e hello_world.js

SQL best practice warning (2,1): G-1030: Avoid defining variables that are not used 

PL/SQL procedure successfully completed.

Elapsed: 00:00:00.283
Elapsed: 00:00:00.052
  1  script
  2*  ctx.write("Hello World !\n");
SQL> @hello_world.js 
Hello World !
Elapsed: 00:00:00.115
Philipp Salvisberg

We're using Java 21, and it's not straightforward to add the javascript engine support for MLE Java 21 :(

Stay tuned…

IMO integrating the GraalVM scripting engine should be straightforward (I've done that for other projects). Libs compatible with Java 21 are available on Maven Central. It's sad, that in version 23.3.0 the integrated SQLcl still does not support the script command.

Any estimates on when we can expect support for the script command in the integrated version of SQLcl of SQL Developer for VS Code?

1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 20 2009
Added on Apr 8 2009
12 comments
254 views