Compile for Debug accelerator key

Hello all,
it seems it's not possible to set an accelerator key for the "Compile for debug" command, at least I cannot find how to.
Any ideas? If it's not possible, I would like to suggest it for a future release.
With kind regards,
Ronald

It's not possible currently, you can log the request over at the exchange sqldeveloper.oracle.com
-kris

Similar Messages

  • Compile for Debug Proc/Package Size

    Was attempting to debug a package on a DB but when compiling for debug got a message along the lines of 'Pacakge to large' and the compilation finished with warnings.
    Is there a max size the compile for debug can handle and if so what is it.
    Thanks
    Paul

    Google gave me this from the Oracle 11.1 PL/SQL Langauge Reference:
    >
    In the shared memory pool, a package spec, object type spec, standalone subprogram, or anonymous block is limited to 67108864 (2**26) DIANA nodes which correspond to tokens such as identifiers, keywords, operators, and so on. This allows for <b>~6,000,000 lines of code</b>...
    >
    http://download-west.oracle.com/docs/cd/B28359_01/appdev.111/b28370/limits.htm

  • Oracle SQL Developer Release 1.5.5 "compile for debug"

    Using Oracle SQL Developer Release 1.5.5 on Windows XP pro machine connecting to 9.2.0.4 database on AIX machine.
    Trying to debug a procedure, in the navigator window, I rt-clk the procedure and select "Compile for Debug", then nothing happens. This happens for every procedure I've tried. I've been granted both DEBUG ANY PROCEDURE and DEBUG CONNECT SESSION. Any ideas?

    This is the first I've used SQL Developer, so I'll take the blame. I had not noticed that the Messages Log does in fact tell me that the proc compiled. However, the debug icon (little red bug) was nowhere to be found.
    I see now that I need to Edit, not Open, the proc in order to debug. If I had read the Help screens a little more closely, I would have seen that I needed to be in Edit mode. My bad. Thanx to all for your responses.

  • PLW-06015 when compilling for debug

    Hi,
    I have the error message: "Warning(1): PLW-06015: parameter PLSQL_DEBUG is deprecated; use PLSQL_OPTIMIZE_LEVEL = 1"
    each time I compile for debug.
    The Oracle database parameters are
    plsql_warnings ENABLE:ALL
    plsql_debug FALSE
    plsql_optimize_level 2
    So Why do I have this message?
    Seb

    Yes,
    I can modify everything under Database - PL/SQL Compiler.
    Optimization Level is already set to 2.
    Here are the other preferences:
    ALL: ENABLE
    INFORMATIONAL: not set
    SEVERE: not set
    PERFORMANCE: not set
    PLScope identifiers: All
    The user for the schema has the DEBUG CONNECT SESSION.
    When I change Optimization level to 1 and compile or compile for debug, I always receive the warning message.
    When I change Optimization level to 2, I always receive the warning message only when I compile for debug,
    In case of, the SQL developer version I use is Version 2.1.1.64 Build MAIN-64.39.
    Seb

  • PLS-00801 error during compile for debug

    Hi,
    I am working as an oracle consultant, hired by an insurance company to rewrite some stuf they made...
    They are using a lot of procedures with nested functions/procedures instead of packages :-(
    Something strange happens though. if you have a procedure with a global cursor declaration, used as a parameterrowtype in a nested function/procedure, the source will not compile to debug (error PLS-00801), unless you delare a global rowtype of that cursor. I pasted some test source within this e-mail where the error is reproducable.
    If the commented line ' -- rg_tst cg_tst%rowtype;' is enabled, the procedure will compile. when its commented, it will compile normally, but NOT with debug option...
    Anyone familiar with this prob?
    thanx,
    Peter Boekelaar,
    Holland
    Test-source
    CREATE OR REPLACE PROCEDURE p_debug_test
    AS
    cn_max_date CONSTANT DATE := TO_DATE('12/31/2005','MM/DD/YYYY');
    CURSOR cg_tst( b_param1 NUMBER )
    IS
    SELECT ADD_MONTHS(TRUNC(SYSDATE), b_param1) tst_date
    , USER tst_user
    FROM dual;
    -- rg_tst cg_tst%rowtype;
    FUNCTION f_date_is_valid( i_cp_tst IN cg_tst%ROWTYPE
    , i_max_date IN DATE
    ) RETURN BOOLEAN
    IS
    BEGIN
    RETURN (i_cp_tst.tst_date <= i_max_date);
    END;
    BEGIN
    FOR rg_tst IN cg_tst( 6 )
    LOOP
    IF f_date_is_valid( rg_tst, cn_max_date )
    THEN
    DBMS_OUTPUT.PUT_LINE( 'Yep1' );
    END IF;
    END LOOP;
    END;

    Fundamentally it means the database connection has been lost, but they may be an underlying error.
    Try the following to give yourself more chance of seeing the underlying error.
    1. Run sqldeveloper from <sqldev>\sqldeveloper\bin\sqldeveloper.exe. This will leave a console window open.
    2. If the problem occurs, look for error messages in the console.
    Can you compile other procedures for debug without the error? Try creating a minimalist for testing.

  • Compile for Debug Results in "Error: No more data to read from socket"

    I am testing the debugger in SQL Developer, and although I can compile objects normally (using the menu/tool bar options), when I compile a procedure for debug, I get this message:
    Error: No more data to read from socket
    There is no sql error message, just this statement.
    I am using 1.5.1.54.40 on an XP SP2 machine. The database is hosted remotely.
    Any advice is appreciated.
    Thanks, Wolf Moritz

    Weird, I was going to say that these are network or port issues, but then a quick look around popped this up. It may be related. SQL error 17410 No more data to read from socket

  • Compiling differently for debug and release

    I want to produce slightly different .class files for my debug and release compilations. For debug, methods like toString() should return rich information which should not be present in the release version. In fact, I want most of my debug specific code to not be included in the final release to keep ti's file size down.
    I realise I can do this by creating something like
    public interface MyGlobals {
        static final boolean DEBUG = false;
    }and implementing this on any class that needs to do debug specific work. However, I'm in a bit of a chicken and egg scenerio. This file needs to exist during development time so that every class that needs it can implement it - however, this would prevent me from dynamically changing it based on whether I'm doing a debug or release build. On the other hand, if the file is generated automatically at compile time, all the classes that need to refer to it will need to refer to a non-existant source file, which will cause problems in my NetBeans IDE.
    Is there a way around this? It would be nice if there was some sort of a configuration file you could specify to to alter how the code is generated. Something similar to C++ #ifdef.

    I realise I can do this by creating something like
    public interface MyGlobals {
    static final boolean DEBUG = false;
    /code]You should be careful about this, by the way, rember that this kind of constant value gets compiled in to classes that reference it, and java doesn't always pick up the need to recompile when the source of MyGlobals changes.
    On the other hand, if you don't declare it final then the compiler can't optimise out code that you want it to exclude for you.

  • Accelerator keys for a JFrame containing JTextPane

    Hi, I have written a text editing window which extends JTextPane, and is embedded in a JFrame with a menubar. I have attached accelerator key shortcuts to each JMenuItem. However, none of them work, because my extension of JTextPane implements KeyListener, and thus controls keyboard input. How do I get the accelerator keys to still work? In general they are all Ctrl-key combinations with no meaningful function in the JTextPane.

    The only way I have found around this problem is to make your JFrame a KeyListener, and add it as a KeyListener of your JTextPane. In the keyPressed method of your JFrame call the processKeyEvent method. That will route the key to the menu. I have used this for a JTable and JTree under my JFrame, but not a JTextPane. It should work the same.
    I have heard rumors that this will be fixed in 1.4. Pretty lame that it is so difficult to do.

  • Using accelerator keys for loading a appliaction made with J2ME

    Hi
    Is there any methods to use accelerator keys to load a application made with J2ME for mobile telephones. The application is not running and i must find a way to load the application using keys codes.
    How can i accomplish this? can i use the application manager and the jad file? i know that i can use PushRegistry for incomming connections to load the application automaticaly. But i need a way to accomplish this by using the key events on a mobile phone when the application is closed.
    Best Regard
    jan Fredrik Fallsen

    Hi
    Is there any methods to use accelerator keys to load a application made with J2ME for mobile telephones. The application is not running and i must find a way to load the application using keys codes.
    How can i accomplish this? can i use the application manager and the jad file? i know that i can use PushRegistry for incomming connections to load the application automaticaly. But i need a way to accomplish this by using the key events on a mobile phone when the application is closed.
    Best Regard
    jan Fredrik Fallsen

  • Accelerator keys for push buttons

    Hi,
    Does anyone know how can I define accelerator keys for push buttons. with ALT+underlined char. can I directly execute the button? If yes, how can we do that?
    Regards,
    Panneer

    Hi,
    As I know, GUI XT could be used to change the screen style. The pushbutton command could be used to add pushbutton.
    But after checking the material, I found it could only use SAP predefined accelerator keys which is in the PF-STATUS.
    FYI:
    Pushbutton
    Purpose With Pushbutton you can create your own pushbuttons within an R/3 screen or within the toolbar. You can make both the menu functions and the navigation to other transactions directly accessible with your own pushbuttons.
    Example
    Pushbutton (10,50) "Split Screen Editor" "SCMP"
    You create a pushbutton at row 10, column 50 with text Split Screen Editor. Clicking on the button invokes the internal code SCMP which then starts the Split Screen Editor.
    Internal codes How do I find the internal codes?
    Choose the desired function in the transaction menu and press F1 while the mouse cursor points to this function. Now the R/3 system displays the internal function code in a pop-up window
    Format Pushbutton (row,column) "Pushbutton text" "FCode" Process="..." 
    Adds a pushbutton on position (row,column). The pushbutton invokes the internal code FCode. This can be a code from the menu, e.g. SCMP, or a transaction code like /NFB01 or /OMM02.
    Process="..."  relates to the InputScript file. You can omit the "fcode" parameter if only "Enter" is needed in order to continue with the transaction.
    Pushbutton (Toolbar) "Pushbutton text" "FCode"
    Adds a pushbutton in the application toolbar. A free function key is assigned automatically and displayed in the quickinfo.
    *Pushbutton (Toolbar) "Pushbutton text" "FCode" "Fkey"*
    *Optionally you can specify a function key of your choice as an additional parameter Fkey using the format F1,..F12, ShiftF1,...,ShiftF12, CtrlF1,...,CtrlF12, ShiftCtrlF1,...,ShiftCtrlF12. If this function key is already in use the system chooses the next available number.*
    *example: Shift+F5  ->  F17, F3 -> F3* 
    Cheers

  • Conditional compile code for debug v.s. release

    Hi,
    Is there a pre-defined symbol (e.g., DEBUG, DEBUG) for conditional compile section of code for debug v.s. release?
    Thanks for your reply in advance!

    Take a look at TargetConditionals.h, I use TARGETIPHONESIMULATOR a lot.

  • Unresponsive accelerator keys

    I have a JMenuBar with a bunch of standard menus--File, Edit, and so forth. I've defined accelerator keys for a bunch of the menu items. I find when I start the app, the first accelerator key I use works, and thereafter they mostly don't. I wouldn't be super concerned--I can still get the function to work via menu selection with the mouse--but I'm also having trouble receiving keystrokes in other components (Behaviors triggering on a KeyEvent in a Java 3D window.)
    It's easy to debug when things happen and they happen wrong. I'm finding it difficult to debug this because nothing is happening at all.
    If this is obvious to anyone let me know. If anyone has any debugging tips let me know.
    Here's a sample from my MenuBar:
    public class MenuBar extends JMenuBar {
        private ArrayList<JMenuItem> editModeAvailableItems;
        public MenuBar() {
            editModeAvailableItems = new ArrayList<JMenuItem>();
            int keymask = 0;
            if(Util.isMac()){
                keymask = ActionEvent.META_MASK;
            }else if (Util.isWindows()){
                keymask = ActionEvent.CTRL_MASK;
            final JMenu fileMenu = new JMenu("File");
            JMenuItem newMenuItem = new JMenuItem("New");
            newMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N,
                    keymask));
            newMenuItem.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    InstrumentManager manager= InstrumentManager.getInstance();
                    if(manager != null){
                        if (manager.getInstrumentContainer().isUpdated()){
                            int answer = JOptionPane.showConfirmDialog(fileMenu,
                                            "current file has been modified.",
                                            "Warning",
                                            JOptionPane.OK_CANCEL_OPTION,
                                            JOptionPane.WARNING_MESSAGE);
                            if(answer==JOptionPane.OK_OPTION){
                               manager.newPantsFile();
                        }else{
                            manager.newPantsFile();
            fileMenu.add(newMenuItem);
            JMenuItem openMenuItem = new JMenuItem("Open");
            openMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O,
                    keymask));
            openMenuItem.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    InstrumentManager manager= InstrumentManager.getInstance();
                    if(manager != null){
                        if (manager.getInstrumentContainer().isUpdated()){
                            int answer = JOptionPane.showConfirmDialog(fileMenu,
                                            "current file has been modified.",
                                            "Warning",
                                            JOptionPane.OK_CANCEL_OPTION,
                                            JOptionPane.WARNING_MESSAGE);
                            if(answer==JOptionPane.OK_OPTION){
                               manager.openPantsFile();
                        }else{
                            manager.openPantsFile();
            fileMenu.add(openMenuItem);
            JMenuItem saveMenuItem = new JMenuItem("Save");
            saveMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S,
                    keymask));
            saveMenuItem.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    InstrumentManager manager= InstrumentManager.getInstance();
                    if(manager != null){
                        manager.savePantsFile();
            fileMenu.add(saveMenuItem);

    jstoner wrote:
    If anyone has any debugging tips let me know.For checking the focused window, we could do something like this:
    FocusManager.getCurrentKeyboardFocusManager()
            .addPropertyChangeListener(new PropertyChangeListener() {
        public void propertyChange(final PropertyChangeEvent evt) {
            if (evt != null && evt.getPropertyName().equals("focusedWindow")) {
                Window window = (Window) evt.getNewValue();
                if (window != null) {
                    // when the focused window is not the frame containing the
                    // accelerators, they will not work
                    System.out.println(window);
    });

  • How to activate JMenu from other frame using accelerator key

    Hi.
    I'm developing an application for my final year project.
    i set up my application to have multiple frame open at the same time (like sunone studio in SDI mode). only one JFrame contains the JMenuBar.
    i can activate this menu bar using the accelerator key when the containing JFrame has focus. however, i donot know how to make the Menu activate when the accelerator key is pressed on other frame. press help, thanks in advance.

    does any one have some idea.
    the solution i found seem not suit my need.
    i want to be able to pull down (and get the focus transfered to) the jmenu in menubar of another frame using the menu's mnemonics. using InputMap does not seem to fit since i need to the menmonic of menu is not in the input map.

  • How to start SAPGUI at entry point to RFC for debugging (using JCO)?

    Hi,
    I am calling an RFC using JCO and trying to have the SAPGUI pop up at the entry point to the RFC for debugging.  But it is not working on Mac OS X.
    I activate the debug via
       JCO.Client client = JCO.createClient(..);
       client.setAbapDebug(true);
       client.setSapGui(1);
       client.connect();
    it gives error:
    sh: line 1: /usr/sap/DV2/SYS/exe/run/sapgui: No such file or directory
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Start 'sapgui' failed.
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1098)
    I then tried to set environment variable SAPGUI=/Applications/SAPGUI\ for\ Java\ 6.3r5.2/SAPGUI\ 6.30rev5.2.app/Contents/MacOS/SAPGUI
    and it then starts up the SAPGUI for Java Logon Pad.
    But, I want the SAPGUI to start up at the entry point to the RFC.
    Is this possible in Mac OS X?  It has worked before on Windows using the RFC SDK utilities or middleware tools such as IBM Crossworlds.
    Thanks

    Hi Robert,
    Thanks for the reply, it was very helpful as I had given up hope on getting a solution.  Unfortunately I am still getting an error.
    1) I created a script as per your directions containing
    "/Applications/SAPGUI for Java 6.3r5.2/SAPGUI 6.30rev5.2.app/Contents/MacOS/SAPGUI" -n -o $*
    2) Now the SAPGUI application starts, but does not open a window and I get the error:
    ERROR #############################
    18.05. 11:58:42.943 ERROR: AgiWindowAdaptor::update: no menu
    ERROR #############################
    3) I switched on the tracekeys with -t CON,SES,EVT,C_AGI to get more detail:
    18.05. 11:58:41.420 TRC: Active trace keys: CON,SES,EVT,C_AGI
    18.05. 11:58:42.709 CON: new GuiConnection
    18.05. 11:58:42.727 CON: GuiConnection.open(/H/<appserver>/S/3235&rfcid=02D5428B909E32190000,tmp)
    18.05. 11:58:42.846 CON: new GuiNiNetConnection
    18.05. 11:58:42.872 CON: GuiNiNetConnection.open(conn=/H/<appserver>/S/3235&cpg=1127&jenc=MacRoman&jloc=en&rfcid=02D5428B909E32190000)
    18.05. 11:58:42.872 CON: GuiNiNetConnection.open: resolved hostSpec = /H/<appserver>/S/3235
    18.05. 11:58:42.915 CON: -
    18.05. 11:58:42.916 CON: GuiNiNetConnection: sending DIAG data to connection for modus 0
    18.05. 11:58:42.918 CON: -
    18.05. 11:58:42.919 CON: GuiNiNetConnection: sending DIAG data to connection for modus 0
    18.05. 11:58:42.927 C_AGI: calling AgiSessionPool->ParseIt() for modus 0
    18.05. 11:58:42.929 C_AGI: AgiLibAdaptor::onNewPrimary
    18.05. 11:58:42.941 C_AGI: returned from AgiSessionPool->ParseIt() for modus 0
    ERROR #############################
    18.05. 11:58:42.943 ERROR: AgiWindowAdaptor::update: no menu
    ERROR #############################
    18.05. 11:58:42.950 SES: GuiAutomationProcessor: processing automation call list for modus id 0
    18.05. 11:58:43.043 SES: new GuiSession
    18.05. 11:58:50.557 CON: GuiNiNetConnection: sending CLOSE data to writer thread
    18.05. 11:58:50.791 CON: -
    18.05. 11:58:50.791 CON: GuiNiNetConnection: sending DIAG data to connection for modus -1
    18.05. 11:58:50.793 C_AGI: AgiLibAdaptor::onDelContainer
    18.05. 11:58:50.794 C_AGI: AgiLibAdaptor::onDelContainer
    18.05. 11:58:50.794 C_AGI: AgiLibAdaptor::onDelPrimary
    18.05. 11:58:50.795 CON: GuiConnection.destroyNetConnectionAndParser
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Start 'sapgui' failed.
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1098)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:2983)
    Any further ideas on what is wrong?   There is a post on another forum http://listserv.sap.com/pipermail/linux.general/2002-June/002538.html with the same error, but no response..
    Thanks,
    Richard

  • JTabbedPane w/ Accelerator Keys

    I need to add accelerator keys to the tabs of a JTabbedPane, much like the accelerators in a JMenuItem (i.e. under-score for Alt-F, or CTRL-X, etc...).
    Any suggestions?
    Thanks!

    It doesn't support accelerator, but it does support mnemonics. Check out the API for more information.

Maybe you are looking for