Debugging modules

Hello,
is debugging of modules supported in current version of dbx and f95 for linux?
Sample program:
modul.f90:
MODULE modul
integer,parameter:: KND=KIND(1.)
CONTAINS
real(KND) function F(x)
real(KND) X
F=SIN(X)+COS(X)
end function
END MODULE modul
main.f90:
program MAIN
use modul
real(KND) Y
Y=1.
Y=F(Y)
write (*,*) Y
end program
compilation:
lada@spiranthes:~/f/test> f90 -g modul.f90 main.f90 -o Sun-i386-Linux/test
modul.f90:
main.f90:
Linking:
dbx output:
(dbx) cd /home/lada/f/test/Sun-i386-Linux
(dbx) debug /home/lada/f/test/Sun-i386-Linux/test
Reading test
Reading ld-linux.so.2
Reading libfui.so
Reading libfsu.so
Reading libpthread.so.0
Reading libmtsk.so.1
Reading libm.so.6
Reading libc.so.6
Reading librt.so.1
Reading libdl.so.2
(dbx) cd /home/lada/f/test/Sun-i386-Linux
(dbx) stop at "/home/lada/f/test/modul.f90":13
dbx: no executable code at line "modul.f90":13
(dbx) stop at "/home/lada/f/test/modul.f90":13
dbx: no executable code at line "modul.f90":13
(dbx) stop at "/home/lada/f/test/main.f90":15
(dbx) stop at "/home/lada/f/test/main.f90":15
(dbx) step
Running: test
(process id 8697)
(dbx) step
(dbx) step
(dbx) step
(dbx) step
execution completed, exit code is 0
(dbx)
I simply can't get into the module function. I'm using the latest build for linux on Suse Linux 10.0.

We are in the process of converting the fortran debug information
from stabs to dwarf, which is required for Linux support. But
the conversion is not quite complete yet. The next version of
Sun Studio Express (in a month or two) should have much better
module support in dbx.
--chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How to debug module pool program

    Hi everybody,
    How to debug module pool program ,please send any material for module pool programming .
    Thanks & Regards,
    Siddivinesh.Jogu
    [email protected]

    Hi
    Check the below link:
    http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    You can also check the transaction ABAPDOCU which gives you lot of sample programs.
    Also you can see the below examples...
    Go to se38 and give demodynpro and press F4.
    YOu will get a list of demo module pool programs.
    One more T-Code is ABAPDOCU.
    YOu can find more examples there.
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    Debugging
    Refer to this thread
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    Debugging
    Check these documents.
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    ABAP Debugging
    http://www.saplinks.net/index.php?option=com_content&task=view&id=24&Itemid=34
    Look at the SAP help link below
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    Regards
    Anji

  • Debugging module pool program

    hi guys,
    how to debug module pool program.
    I have written one user exit in this module pool program, i want to check the value.i don't know the screen number and program name where it is going to effect'?
    actually i am validating in this userexit...
    anybody knows this....
    thanks in advance,
    Yad

    Hi Yad,
           There is a very convenient way of debugging anything in SAP.In the SAP easy access screen choose the icon which denotes the 'Generated a Shortcut on the Desktop'.In the resulting window that appears choose the part where the 'Application' Details are present.Change the TYPE to SYSTEM COMMAND and enter the COMMAND as /H and give some title for e.g 'MYDEBUGGER'.Click on O.K and a shortcut will be placed on your desktop with the title that you have given.Anyplace and anywhere on the SAP screen if you wish to debug just drag the shortcut from ur desktop on to the screen.This is very helpful and would help u to understand the debugging process.
    As far as your present scenario is considered put a breakpoint in the user-exit.If your user-exit is getting triggered then the breakpoint will automatically put you into the debugging screen.There is always a way to debug anything.Hope this helps.
    Cheers
    Nishanth

  • Debugging a Module Pool Program(Object Oriented ABAP)

    Hello Experts,
    Could you please advise me on an efficient debugging technoque of Module Pool Program which is based on Object Oriented ABAP?

    Hi
    Debugging Module pool program using ABAP objects is same as debugging any other report/module pool program.
    Click on the Create shortcut icon on the toolbar.
    In the popup window choose "System command" and in the command enter "/h"
    A shortcut on the desktop would be created
    Drag and drop the shortcut to the modal window to set debugging on.
    Approach 2:
    Create a txt file on the desktop with the following lines:
    [FUNCTION]
    Command=/H
    Title=Debugger
    Type=SystemCommandDrag and drop this file to the modal window to set debugging on.
    How do I switch between the Classic and New Debugger
    From within the ABAP workbench, select the Utilities->Settings Menu
    Select the ABAP Editor Tab
    Select the Debugging tab within the ABAP Editor Tab
    Select the Classic Debugger or New Debugger radio button
    Refer to this thread
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    Debugging
    Check these documents.
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
    ABAP Debugging
    http://www.saplinks.net/index.php?option=com_content&task=view&id=24&Itemid=34
    Look at the SAP help link below
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
    Reward points if useful
    Regards
    Anji

  • File adapter module enhancement error

    Hello All,
    We have a EDI scenario where data for 110 is to be transfered to SAP. Here customer is not able to ahead with seeburger hence decided to develope a adapter module. We have done that  and started testing . While testing we are getting a error, in which ":" is field separator which is getting converted to  "[]" . This we found when we debugged module process method. Pl can you suggest why this conversion is happening and how to resolve.
    If you see , When I use only standared sap module file is getting read as it is. There is no such conversion happening.
    Pl can you suggest at the earliest possible.
    thanks,
    Sharada

    Hi,
    I think you have done a typo error. is it not
    localejbs/SeeClassifier classifier*
    To find the correct JNDI lookup name, log in to Visual Administrator of the J2EE Engine and in server node look for the JNDI Registry Service.Spot your desired bean and fetch the whole JNDI name form there.
    Regards,
    Sudharshan N A

  • No PL/SQL windown in Forms-10g Debug

    Dear gurus...I used to use a PL/SQL window in 6i forms debug tool which displayed at the bottom of debugging module. It was very useful to look at the database values of current session but I'm unable to fine this PL/SQL interation tool in 10g Forms debug module. Is it away from my eyes only or really doesn't exist in 10g-Forms???

    Caz,
    Two things. First; it is considered poor Forums Etiquette to hijack someone else's posting. Always create your own post and include a link to a related posting if your issue is similar to someone else's.
    Second; now that you have the FORMS_TRACE_PATH defined, you create the trace file by adding the "RECORD=FORMS" parameter to the URL. Optionaly, you can add the "TRACEGROUP=DEBUG/CUSTOM1" parameter as well as long as you have specified the CUSTOM1 trace group in the ftrace.cfg file. Just adding the RECORD=FORMS should be enough, however.
    If that still doesn't produce the results you are looking for, check out the following references: Oracle9i Forms Diagnostic Techniques and Oracle9iAS Forms Services Tracing and Diagnostics. I know these are for Forms 9i, but the process did not change between Forms 9i and Forms 10g. If you are using Forms 11g, I'm not sure if these technigues will work the same as I am not using Forms 11g yet. ;-)
    Craig...

  • DEBUG-4-INVALID_MODULE on the WLC 2504 with version 7.6.100????

    Hi!!!  Please help with the solution.
    I have one WLC 2504, 4 Cisco 1141 APs and one AP 1602.
    Yesterday, I upgrade the WLC with version 7.5.102 to version 7.6.100.
    After the upgrade in Message Logs on the WLC at the same time see the following message:
    *RRM-MGR-5_0-GRP: Jan 23 08:44:25.449: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 08:35:41.189: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 08:34:17.373: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 08:25:32.125: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 08:24:09.309: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 08:15:23.013: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 08:14:01.213: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 08:05:13.949: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 08:03:53.149: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 07:55:04.905: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 07:53:45.086: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 07:44:55.813: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 07:43:37.010: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 07:34:46.749: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 07:33:28.930: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 07:24:37.669: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 07:23:20.865: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 07:14:28.593: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 07:13:12.789: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 07:04:19.529: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 07:03:04.729: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 06:54:10.493: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 06:52:56.689: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 06:44:01.445: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 06:42:48.645: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.
    *sntpReceiveTask: Jan 23 06:35:22.218: #LOG-4-Q_IND: debug.c:2636 Unhandled debug module 5005.[...It occurred 19 times.!]
    *RRM-MGR-2_4-GRP: Jan 23 06:33:48.070: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 06:32:36.266: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 06:23:39.030: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 06:22:28.226: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 06:13:29.986: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 06:12:20.186: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 06:03:20.930: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 06:02:12.130: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 05:53:11.890: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 05:52:04.090: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 05:43:02.838: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 05:41:56.039: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 05:32:53.790: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 05:31:47.986: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 05:22:44.758: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 05:21:39.950: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 05:12:35.718: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 05:11:31.910: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 05:02:26.670: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 05:01:23.859: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 04:52:17.606: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 04:51:15.794: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 04:42:08.566: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 04:41:07.750: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 04:31:59.506: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 04:30:59.703: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 04:21:50.450: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 04:20:51.646: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 04:11:41.402: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 04:10:43.598: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 04:01:32.326: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 04:00:35.522: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 03:51:23.258: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 03:50:27.442: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 03:41:14.182: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 03:40:19.378: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 03:31:05.106: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 03:30:11.302: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 03:20:56.042: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 03:20:03.242: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 03:10:46.978: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 03:09:55.178: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 03:00:37.902: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 02:59:47.102: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 02:50:28.826: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 02:49:39.026: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 02:40:19.782: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 02:39:30.983: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 02:30:10.742: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 02:29:22.942: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 02:20:01.698: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 02:19:14.886: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 02:09:52.646: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 02:09:06.842: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 01:59:43.587: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 01:58:58.783: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 01:49:34.546: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 01:48:50.742: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 01:39:25.494: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 01:38:42.687: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 01:29:16.454: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 01:28:34.642: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 01:19:07.402: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 01:18:26.594: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 01:08:58.362: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 01:08:18.554: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 00:58:49.322: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 00:58:10.514: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 00:48:40.266: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 00:48:02.467: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 00:38:31.222: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 00:37:54.411: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 00:28:22.174: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 00:27:46.374: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 00:18:13.106: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 00:17:38.306: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 23 00:08:04.062: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 23 00:07:30.262: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 22 23:57:55.022: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 22 23:57:22.222: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 22 23:47:45.958: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 22 23:47:14.158: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 22 23:37:36.906: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 22 23:37:06.106: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 22 23:27:27.826: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 22 23:26:58.026: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 22 23:17:18.762: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 22 23:16:49.962: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 20 times/sec!.]
    *RRM-MGR-2_4-GRP: Jan 22 23:07:09.686: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.[...It occurred 10 times/sec!.]
    *RRM-MGR-5_0-GRP: Jan 22 23:06:41.870: #DEBUG-4-INVALID_MODULE: debug.c:2636 Unhandled debug module 5005.
    With what may be the problem exists? Any suggestion?

    Have you upgraded the FUS to 1.8.0.0? What happens if you try to boot from v7.5 do you see the messages and maybe boot back to v7.6?
    Here is what the doc mentions about the error
    Error Message %DEBUG-4-INVALID_MODULE: Unhandled debug module [dec].
    Explanation This module cannot be debugged.
    Recommended Action Copy the message exactly as it appears on the console or in the system log. Research and attempt to resolve the issue using the tools and utilities provided at http://www.cisco.com/tac. With some messages, these tools and utilities will supply clarifying information. Search for resolved software issues using the Bug Toolkit at http://tools.cisco.com/Support/BugToolKit/. If you still require assistance, open a case with the Technical Assistance Center via the Internet at http://tools.cisco.com/ServiceRequestTool/create/launch.do, or contact your Cisco technical support representative and provide the representative with the information you have gathered.
    http://www.cisco.com/en/US/docs/wireless/controller/message/guide/msgs4.html#wp1000708
    Sent from Cisco Technical Support iPhone App

  • ASA SSM IPS module upgrade won't work

    Hello all,
    I'm trying to upgrade the IPS sig's on an ASA5520 with a SSM IPS module. I'm trying to upgrade the system to 5.1.1 to further upgrade the device with no luck.
    I followed these steps provided by Cisco.com:
    1. Log in to the ASA.
    2. Enter enable mode:
    asa# enable
    3. Configure the recovery settings for ASA-SSM:
    asa (enable)# hw-module module 1 recover configure
    NOTE: If you make an error in the recovery configuration, use the
    hw-module module 1 recover stop command to stop the system reimaging
    and then you can correct the configuration.
    4. Specify the TFTP URL for the system image:
    Image URL [tftp://0.0.0.0/]:
    Example:
    Image URL [tftp://0.0.0.0/]: tftp://10.20.30.40/IPS-SSM-K9-sys-1.1-a-5.1-1.img
    5. Specify the command and control interface of ASA-SSM:
    Port IP Address [0.0.0.0]:
    Example:
    Port IP Address [0.0.0.0]: 11.21.31.41
    6. Leave the VLAN ID at 0.
    VLAN ID [0]:
    7. Specify the default gateway of the ASA-SSM:
    Gateway IP Address [0.0.0.0]:
    Example:
    Gateway IP Address [0.0.0.0]: 11.22.33.44
    8. Execute the recovery:
    asa# hw-module module 1 recover boot
    9. Periodically check the recovery until it is complete.
    NOTE: The status reads "Recovery" during recovery and reads "Up" when
    reimaging is complete.
    AFter #8 it just goes back to the enable prompt. A 'sh module' lists the device as 'recover' and hangs FOREVER.... I tested the TFTP server which the new image resides on, and the TFTP is working fine. I don't see any attempts or downloads from the TFTP server for over an hour.
    I opened a Ciscop TAC on this and not receiving alot of help...
    Please help!!!:)
    Thanks
    Chris Serafin
    [email protected]

    The recovery using this method can takes upwards of 30 minutes, and in some cases even longer.
    How long have you left the SSM in the "recovery" state?
    There may be something wrong in the config you entered. when that happens the SSM can go into a continuous reboot cycle trying to do the recovery.
    Execute "debug module-boot" on the console of the ASA.
    The debug output will show you the ROMMON output of the SSM itself. (The SSM has it's own ROMMON. The recovery boot command sends the settings made during the recover configure command to the SSM's ROMMON).
    If the ROMMON is experiencing a problem in trying to download the tftp image you should now see that ROMMON error message.
    Some typical problems I have seen:
    1) Wrong IP given for the sensor.
    2) Wrong IP given for the gateway (the gateway must exist on the same network as the sensor) this problem usually happens when using a non-standard netmasked network.
    3) Not having the sensor's command and control port plugged into the right network. The external port of the SSM itself is where the IP is being applied. You need to ensure that the extenral port of the SSM is plugged into the right network for that IP.
    4) The tftp server is not reachable from the network where the sensor's command and control port is attached. Some users think that if the ASA itself can reach the tftp server that the SSM will also be able to. This is not always the case. It is best to use a tftp server on the same network as the IP provided to the SSM. Or to test the tftp server from another machine on the same network as the SSM.
    5) The file name is wrong. Check the captialization especially.
    6) The file is not in the default directory on the tftp server. If the file is in a subdirectory you will need to add that subdirectory to the URL:
    tftp://10.20.30.40/subdirectoryname/filename
    7) The tftp is timing out.
    There are 2 things that can cause this:
    a) The tftp server is remote, and it takes too long to download the file. The ROMMON does have limits on the number of retries and per packet timeouts (but they are not user configurable). Try using a tftp server local to the SSM.
    b) The switch that the SSM connects to has spanning-tree running and spanning-tree does not complete before the SSM ROMMON times out for the tftp attempt. The tftp attempt happens immediately upon ROMMON startup and link up. But with a switch the switch port may be in a "Listen" or "Learn" state for 40 seconds before the box can actually talk on the network. In some cases the tftp download attempts started as soon as link up, and may timeout even before the spanning-tree completes. To work around this configure "spanning-tree portfast" on the switchport. Spanning-tree will connect the port into the vlan immediately rather than 40 seconds later.
    If it was a config problem when configuring the recovery settings, then there is a "recover stop" command on the ASA.
    It will stop the reboot cycle from happening.
    Let the module come up with the old image.
    Then correct your "recover configure" settings, and try the "recover boot" again.
    Another alternative:
    Stop the recovery "recover stop"
    Let it boot into the old image.
    If it was a 5.0 version, then you can actually upgrade to 5.1 using the sensor's own CLI "upgrade" command. It is actually the preferred method.
    The "recover" from the ASA will wipe the box clean and load a fresh image.
    The "upgrade" from the sensor will convert your 5.0 config into a 5.1 config while installing 5.1.
    5.1 upgrade file:
    IPS-K9-min-5.1-1g.pkg
    http://www.cisco.com/cgi-bin/tablebuild.pl/ips5
    It can be applied through the sensor's CLI upgrade command, or pushed directly through IDM, or applied by CSM.
    The "recover" should be limited to disaster recovery. When you can't access the SSM at all, or the files on the SSM have been corrupted.
    For normal upgrades you want to use "upgrade" files done through the sensor itelf (CLI, IDM, or CSM).

  • Connecting to microblaze edk module

    I am trying to download opensparc into XC5VLX110T. I generated the ngc file for XC5VLX110T using xilinx 10.1. i used the -all option. synthesized for 4 thread, 16 tlb and no spu configuration.
    i then followed the procedure in the DV guide and connected the sparc.ngc to the edk project. I generated the bitstream as mentioned in the DV guide.
    I then tried running the default diagnostic - bypass_win. I followed the steps as mentioned in the DV guide but I could not connect to the microblaze microprocessor debugging module using XMD.
    connect mb mdm showed connection failure error. kindly help me out in this regard.
    Thanks
    Abishek Ramdas

    Hi oza...
    SSO to R/3 is enough for your requirement....
    all you need to do is....
    This Buisness package needed ITS configuration.
    i think u define SAP system with load balancing in portal.
    instead of that u use SAP system using dedicated application server.
    (if u define SAP system using dedicated application server.check it with my settings)
    if possible create new SAP system in portal with
    SAP system using dedicated application server.
    else u have to define message server port and gateway service port under services file on host where u launch the portal
    for this BP define the R3 & ITS systen as follows.
    1) Create the SAP system with SAP system using dedicated
    application server. give the name SAP_R3
    now open the connector properties of SAP System.
    define following.
    Application host -> host name of R3 system or IP address
    Remote Host Type --> 3
    SAP Client --> sap client (i.e 800)
    SAP System ID (SID)---> SID
    SAP System Number ---> instance number of SAP system.
    Server Port -
    > 32<instance number> i.e for 00 it's 3200
    System Type -
    > SAP_R3
    leave the other field as it is.
    now open ITS properties.
    ITS Description ---> description
    ITS Host Name ---> host.domain.com:IIS port for ITS
    ITS path -
    > /scripts/wgate
    ITS Protocol --->http or https
    if u want to use BSP application from R3 system than define WAS property
    WAS Description ---> description
    WAS Host Name ---> r3host.domain.com:80<instance number of R3)
    WAS Path --->/sap/bc/bsp/sap
    WAS protocol --> http or https
    Now open USER management property
    Logon Method ---> UIDPW or SAPLOGONTICKET for sso
    User Mapping Fields -->
    User Mapping Type --> admin,user
    save ur settings.
    now open system aliases.
    ADD the following alias to ur system
    SAP_R3
    SAP_R3_HumanResources ( for ESS/MSS BP)
    now map ur portal user to R3 user.
    said by malavia...check the thread ESS Configuration
    PradeeP

  • Image recovery on 5520 IDS Module (ASA-SSM-10) TFTP timeout failure

    I have an ASA 5520 with an ASA-SSM-10 module in it for IDS.  It has (from what I can tell) never been used or configured.  In fact, I only recently found that it existed!  I would like to begin using it, starting with replacing the software image with the latest (I do NOT need any configuration from it now).
    Details ...
    KCH-ASA-Primary# sh module 1 details
    Getting details from the Service Module, please wait...
    ASA 5500 Series Security Services Module-10
    Model:              ASA-SSM-10
    Hardware version:   1.0
    Serial Number:      JAF10422581
    Firmware version:   1.0(11)2
    Software version:   6.0(1)E1
    MAC Address Range:  0018.b91b.69f1 to 0018.b91b.69f1
    App. name:          IPS
    App. Status:        Up
    App. Status Desc:
    App. version:       6.0(1)E1
    Data plane Status:  Up
    Status:             Up
    Mgmt IP addr:       172.17.1.20
    Mgmt web ports:     443
    Mgmt TLS enabled:   true
    The problem that I am having is that when I set it up to pull down the new software through TFTP, it just hangs and times out.
    KCH-ASA-Primary# hw module 1 recover config
    Image URL [tftp://10.10.10.9/IPS-sig-S789-req-E4.pkg]:
    Port IP Address [172.17.1.20]:
    VLAN ID [950]:
    Gateway IP Address [172.17.1.1]:
    KCH-ASA-Primary#
    And then ...
    KCH-ASA-Primary# debug module-boot
    debug module-boot  enabled at level 1
    KCH-ASA-Primary# hw module 1 recover boot
    The module in slot 1 will be recovered.  This may
    erase all configuration and all data on that device and
    attempt to download a new image for it.
    Recover module in slot 1? [confirm]
    Recover issued for module in slot 1
    KCH-ASA-Primary# Slot-1 215> Cisco Systems ROMMON Version (1.0(11)2) #0: Thu Jan                             26 10:43:08 PST 2006
    Slot-1 216> Platform ASA-SSM-10
    Slot-1 217> GigabitEthernet0/0
    Slot-1 218> Link is UP
    Slot-1 219> MAC Address: 0018.b91b.69f1
    Slot-1 220> ROMMON Variable Settings:
    Slot-1 221>   ADDRESS=172.17.1.20
    Slot-1 222>   SERVER=10.10.10.9
    Slot-1 223>   GATEWAY=172.17.1.1
    Slot-1 224>   PORT=GigabitEthernet0/0
    Slot-1 225>   VLAN=950
    Slot-1 226>   IMAGE=IPS-sig-S789-req-E4.pkg
    Slot-1 227>   CONFIG=
    Slot-1 228>   LINKTIMEOUT=20
    Slot-1 229>   PKTTIMEOUT=4
    Slot-1 230>   RETRY=20
    Slot-1 231> tftp [email protected] via 172.17.1.1
    KCH-ASA-Primary# Slot-1 232> TFTP failure: Packet verify failed after 20 retries
    Slot-1 233> Rebooting due to Autoboot error ...
    Slot-1 234> Rebooting....
    I know that I can reach 10.10.10.9 from 172.17.1.x.  And this is the present port IP of the device.  If I do a 'session1' and ping 10.10.10.9, I get replies.  I know my TFTP is working ... I use it for all of my switches for config backups and installing new IOS.  And watching my TFTP server window, I am not seeing any connection attempts.
    What am I doing wrong here?  :-(

    Thanks for your response. As I mentioned earlier in my email, I tried 2 different images (IPS-SSC_5-K9-sys-1.1-a-6.2-2-E4.img and IPS-SSM_10-K9-sys-1.1-a-7.1-5-E4.img) without any success. Since there are no packets coming from IPS on the TFTP server, I think the problem is something else.
    When I run the "debug cplane 255" command, I see some errors mentioned below:
    asa(config)# debug cplane 255
    debug cplane  enabled at level 255
    asa(config)#
    cp_connect: Connecting to card 1, socket 3, port 7000
    cp_connect: Error - cp_connect() returned -1
    cp_check_connection: handle -1, conflicts with connection 1 (-1)
    cp_check_connection: handle -1, conflicts with connection 2 (-1)
    cp_check_connection: handle -1, conflicts with connection 3 (-1)
    cp_update_connection: Error updating connection_id 0
    Is this a hardware issue?

  • FILE-RFC ADAPTER problem

    Hi all,
    I am trying file->xi->rfc adapter scenario.
    My scenario is employee information is written to flat file n  will be kept on ftp server.THe file adapter will pickup the file and sends it to rfc adapter through pipeline service.
    This is going well. The problem is the data is not being updated into receiving sap system.
    in SXMB_MONI transaction the messages are successully processed . But there are no messges in rfc adapter when i gone through idx5 transaction???
    Any one have idea??
    Thanks in advance.
    Rgds,
    Ram Sri

    sxmb_moni only shows the status of the integration engine's processing, not the result of what happened in the rfc call.  First, you can check if the adapter framework successfully passed the message to the destination system (not on moni, thru RWB)
    as far as did the rfc succeed - it's as difficult as always with internal processing.  We did a lot of testing by debugging modules on the destination side (manually putting in the data as the adapter would've to step thru & see where the message is "lost") - have not yet found a better way, sorry.  It's not so much a problem with XI, just in general the difficulty to debug rfc's

  • Sun Studio 11 do not parse make output and create link to file?

    Hi,
    Running Sun Studio 11 and can only get file links in the output window when I run a make command that uses CC -g (debug option). We have integrated other tools into our make system (flexlint, cppUnit..) and even though we make sure that the syntax is exactly the same as the compiler output and matches regular expression under tools->options->building->make settings->error expression, it doesn't work. Why do you have to debug compile to get sun studio to create a file link in the output window? Doesn't sun studio just parse the text from the make command?
    example of flexlint output for which no link is created:
    "/vobs/project/oss/fm/fm4/fm-fmalib/fmbal/fmaaulib/src/FMA_List.cc", line 440: Error 84: sizeof object is zero or object is undefined'�
    example of make debug output for which we do get a link:
    "/vobs/project/oss/fm/fm4/fm-fmalib/fmbal/SunOS5.10/inc/FMA_alarm_record.hh", line 1310: Warning (Anachronism):Info "static" is not allowed and is being ignored.
    Regards,
    Ola

    I'd second Maxim's suggestion: try NetBeans 5.5 with C/C++ Development Pack. The official release of NetBeans C/C++ Development Pack 5.5 has happened a few days ago. You can download it from
    http://www.netbeans.info/downloads/all.php?b_id=2284
    Some of the changes between the beta3 build and FCS are:
    * Significant performance improvements in the code parser resulting in faster results in the Class View and Code Completion
    * Programs now run in an external terminal (system dependent) by default. This allows better input control
    * Significant performance improvement in the debugging module
    * Significant functionality improvement in the debugging module
    * New project type "C/C++ Project From Existing Code" which simplifies creating a project from existing code
    * Macro support in code completion
    * Hyperlink navigation for macro usages and #include directives
    * Reformat code
    * Code folding
    * Code completion
    All these features will appear in next Sun Studio release, so you can
    consider NetBeans C/C++ Development Pack 5.5 as a preview of new
    Sun Studio IDE.

  • Can Anyone Tell Us What CPU This Blade Log Has? (SPARC T3-1B) - PLEASE

    Primary Bootstrap.
    U-Boot 1.1.4
    Custom AST2100 U-Boot 3.0 (Feb  4 2011 - 00:21:51) r62572
    DRAM:  119 MB
    Flash bank 0 at 10000000 has 32MB in 256 sectors (chipSize 1<<25, ratio 1, bufSz 64).
    Flash: 32 MB
    VUART1 at port 0x03f8, SerIRQ[4] disabled
    VUART2 at port 0x02f8, SerIRQ[3] disabled
    Protecting U-Boot flash sectors; monitor_base=100a0000.
    board_findGpioNum(): ERROR, 'BIOS_TOP_BLOCK_LOCK' does not match any pin.
    board_findGpioNum(): ERROR, 'SP_PECI_ENABLE' does not match any pin.
    H/W:   Virgoplus Service Processor; SOC: AST2100 Rev. 02 ('A3')
      PWC_SP_Broken_OD = 0;  ARM restart caused by: power-on
      The host is OFF(held) (hostWantsPwr=1, powerGood=0,
            allowPwrOn=0|0, outOfReset=0, fatalError=0).
      Reset straps=0x8c819180, def. H-PLL=264 MHz, CPU/AHB=2:1, boot CS0# normal speed
      PCI w/VGA noVBIOS;  NOR 38ns/byte;  DRAM clock is M-PLL: 264 MHz (DDR2-528)
      DRAM: 128MB data - 8MB VGA, 32-bit noECC, 2 BA 10 CA, CL=4 BL=4 ap=1, 61440 us refr, DQSipv=0x2020202
    Board Revision - 8d
    Date: 2013-11-05 (Tuesday)    Time: 16:15:08
    Reading FRUID...Valid CRC.
    ethaddr=00:21:28:BB:FD:76
    eth1addr=00:21:28:BB:FD:77
    Platform (virgo): Configuring HPC FPGA (data=0x100ed800, len=45844)
    ## Extracting HPC microcode...done
    Now programming 225844 bytes...
    HPC programming done, rc = 0
    HPC_FPGA_DONE = 1
    Net:   faradaynic#0, faradaynic#1
    Enter Diagnostics Mode ['q'uick/'n'ormal(default)/e'x'tended(manufacturing mode)] .....   0
    Diagnostics Mode - NORMAL
    <DIAGS> Memory Data Bus Test ... PASSED
    <DIAGS> Memory Address Bus Test ... PASSED
    I2C Probe Test - Motherboard
            Bus     Device                          Address Result
            ===     ============================    ======= ======
             1               PCA9548 MUX (U3004)    0xE2    PASSED
             2                 Sys FRUID (U3003)    0xA0    PASSED
             2                Power CPLD (U3301)    0x4E    PASSED
             2          CPU0 Fault LED's (U3001)    0x40    PASSED
             2          CPU1 Fault LED's (U3002)    0x42    PASSED
             2            PCA9555 (Misc) (U3005)    0x44    PASSED
             2        Temp. Sensor(LM75) (U3006)    0x90    PASSED
             2                   LTC4215 (U5102)    0x96    PASSED
             2                 DIMM IMAX (U3102)    0x12    PASSED
             6          Bank Panel Led's (U3406)    0xC6    PASSED
             6               DS1338(RTC) ( U803)    0xD0    PASSED
    <DIAGS>Testing 4eyes access .... PASSED
    <DIAGS> PHY #0 R/W Test ... PASSED
    <DIAGS> PHY #0 Link Status ... PASSED
    <DIAGS> ETHERNET PHY #0, Internal Loopback Test ... PASSED                                                           <DIAGS> USB 1.1 Test ... PASSED
    <DIAGS>Access to BIOS Flash ... PASSED
    <DIAGS> Testing PowerCPLD version ... PASSED
    checking for abnormal reboots: 0:0.
    abnormal reboot found -- too long, ignore
    Booting linux in 3 seconds...
    Un-Protect Flash Bank # 1
    flctrl: Recovery U-Boot (r56177) at 0x10040000 is valid (min. r51654).
    Trying primary image...
    Trying to boot package at 10100000
    Found kernel image at 10102000
    Found root image at 1025f9f4
    copying 0x00a8d040 bytes from 0x1025f9f4 to 0x00800000
    bootargs= root=/dev/ram  ramdisk_size=10804  console=ttyS0,9600 bigphysarea=6144 ractrends.mtdblocks=env,0x20000,0x20000,coredump,0x1500000,0x800000,persist,0x1d00000,0x200000,params,0x1f00000,0x100000,
    ## Booting image at 10102000 ...
       Image Name:   Linux-2.6.27.43
       Created:      2011-02-04   5:18:45 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1431988 Bytes =  1.4 MB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... OK
    OK
    do_bootm_linux() armlinux.c:104
      bootm
      0x10102000
      0x00800000
    theKernel=00008000
    do_bootm_linux() armlinux.c:121 - 9
    ## Loading Ramdisk Image at 00800000 ...
    do_bootm_linux() armlinux.c:155 - 10
       Image Name:
       Created:      2011-02-04   6:07:05 UTC
       Image Type:   ARM Linux RAMDisk Image (uncompressed)
       Data Size:    11063296 Bytes = 10.6 MB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    do_bootm_linux() armlinux.c:182 - 11
    do_bootm_linux() armlinux.c:245 - 15
    arch_number = 0x00000386
    env_t       = 0x01ED0008
    boot_params = 0x40000100
    DRAM bank   = 0x00000000
    -> start    = 0x00000000
    -> size     = 0x07700000
    ethaddr     = 00:21:28:BB:FD:76
    eth1addr    = 00:21:28:BB:FD:77
    ip_addr     = 0.0.0.0
    baudrate    = 9600 bps
    Sun extensions:
      bi_UBootEnvAddr     = 0x10020000
      bi_UBootEnvSize     = 0x00020000
      bi_flashstart       = 0x10000000
      bi_flashsize        = 0x02000000
      bi_flashbanksize    = 0x02000000
      bi_flashbanks       = 0x01
      bi_flashbankwidth   = 0x01
      bi_flashsectorsize  = 0x00020000
      bi_flashsectorcount = 0x00000100
      bi_boottype         = 0x02
      bi_primarytype      = 0x02
      bi_secondarytype    = 0x00
      bi_booted           = 0x10100000
      bi_primary          = 0x100a0000
      bi_secondary        = 0xffffffff
      bi_primaryhdr       = 0x10100000
      bi_secondaryhdr     = 0xffffffff
      bi_imagearea0       = 0x100a0000
      bi_imagearea1       = 0xffffffff
      bi_maximagesize     = 0x01f60000
      bi_min_firmware_rev = 0
      bi_sptrace_base     = 0x00000000
      bi_sptrace_len      = 0x00000000
      bi_apbclockhz       = 0x03ef1480
    H/W:   Virgoplus Service Processor; SOC: AST2100 Rev. 02 ('A3')
      The host is OFF(held) (hostWantsPwr=1, powerGood=0,
            allowPwrOn=0|0, outOfReset=0, fatalError=0).
      ARM Control reg: RR=0 HV=0 IC=1 BPd=0 RomP=0 SysP=0 BE=0 WB=1 DC=0 AlinFlt=1 MMU=0
      Cache Type reg: CType=0xe WB, sep.; I: 16KB of 32B lines 4-way; D: 16KB of 32B lines 4-way
            IC locked ways(3:0): 0000b, DC locked ways: 0000b
      Reset straps=0x8c819180, def. H-PLL=264 MHz, CPU/AHB=2:1, boot CS0# normal speed
      H-PLL (params=0x04291) 264.000 MHz, M-PLL params=0x04120-->264.000 MHz
      CPUCLK: H-PLL/1=264 MHz, AHB HCLK: CPUCLK/2=132 MHz, APB PCLK: H-PLL/4= 66 MHz
      PCI w/VGA noVBIOS;  NOR 38ns/byte;  DRAM clock is M-PLL: 264 MHz (DDR2-528)
      Bus-master-mode clocks: PCI BHCLK= 33 MHz, LPC LHCLK= 33 MHz
      Stopped clocks: vidCap-1, SP-Display, HACE, PCI-host
      DRAM: 128MB data - 8MB VGA, 32-bit noECC, 2 BA 10 CA, CL=4 BL=4 ap=1, 61440 us refr, DQSipv=0x2020202
      Reset controls: HACE, PwmFt, displays, MDMA, PCI-host
      Register protect: SCU prot, DMC prot, AHBC prot, VIC U-prot
      Ethernet MAC-PHY interface mode=6 (RMII + RMII), no MII2DC+DIO pins
    do_bootm_linux() armlinux.c:260
    do_bootm_linux() armlinux.c:263
    do_bootm_linux() armlinux.c:267
    do_bootm_linux() armlinux.c:279
    do_bootm_linux() armlinux.c:283
    do_bootm_linux() armlinux.c:287
    do_bootm_linux() armlinux.c:295
    Galactic register 1: 400509c0
    Starting watchdog timer.
    Starting kernel at 0x00008000...
    do_bootm_linux() armlinux.c:320
    do_bootm_linux() armlinux.c:324 (0x00000386,0x40000100)
    Uncompressing Linux............................................................................................... done, booting the kernel.
    Linux version 2.6.27.43 (buildbot@build-slave-sh-8) (gcc version 3.3.6) #1 Fri Feb 4 00:18:12 EST 2011
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    Machine: ASPEED-AST2100
    Memory policy: ECC disabled, Data cache writeback
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 30226
    Kernel command line: root=/dev/ram  ramdisk_size=10804  console=ttyS0,9600 bigphysarea=6144 ractrends.mtdblocks=env,0x20000,0x20000,coredump,0x1500000,0x800000,persist,0x1d00000,0x200000,params,0x1f00000,0x100000,
    PID hash table entries: 512 (order: 9, 2048 bytes)
    console [ttyS0] enabled
    mach/timer.c: Just lost 80 clock interrupts.
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 119MB = 119MB total
    Memory: 82144KB available (2708K code, 246K data, 124K init)
    Calibrating delay loop... 131.48 BogoMIPS (lpj=657408)
    Mount-cache hash table entries: 512
    Initializing cgroup subsys ns
    Initializing cgroup subsys cpuacct
    CPU: Testing write buffer coherency: ok
    net_namespace: 804 bytes
    NET: Registered protocol family 16
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
    Freeing initrd memory: 10804K
    NetWinder Floating Point Emulator V0.97 (double precision)
    bigphysarea: Allocated 6144 pages at 0xc128e000.
    squashfs: version 3.4 (2008/08/26) Phillip Lougher
    squashfs: LZMA suppport for slax.org by jro
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 181
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    io scheduler noop registered (default)
    ttyS0 at MMIO 0x1e783000 (irq = 9) is a GUC-ASPEED UART
    ttyS1 at MMIO 0x1e784000 (irq = 10) is a GUC-ASPEED UART
    brd: module loaded
    loop: module loaded
    FTGMAC100: ASPEED FTGMAC Driver, (Linux Kernel 2.6.15.7) 11/17/2008 - by ASPEED
    FTGMAC100: eth0: at 0xfe660000 IRQ:2 noWait:0, MAC 00:21:28:bb:fd:76
    FTGMAC100: eth0:ftgmac100_reset, phyAddr=0x0, miiPhyId=0x0040_61e4
    FTGMAC100: lp->rx_descs = ffc00000, lp->rx_rx_descs_dma = 67ac000
    FTGMAC100: lp->rx_buf = 00000000, lp->rx_buf_dma = 0
    FTGMAC100: lp->tx_descs = ffc01000, lp->tx_rx_descs_dma = 67bd000
    FTGMAC100: lp->tx_buf = 00000000, lp->tx_buf_dma = 0
    FTGMAC100: eth1: at 0xfe680000 IRQ:3 noWait:0, MAC 00:21:28:bb:fd:77
    FTGMAC100: eth1:ftgmac100_reset, phyAddr=0xff, miiPhyId=0x0000_0002
    FTGMAC100: lp->rx_descs = ffc02000, lp->rx_rx_descs_dma = 67c1000
    FTGMAC100: lp->rx_buf = 00000000, lp->rx_buf_dma = 0
    FTGMAC100: lp->tx_descs = ffc03000, lp->tx_rx_descs_dma = 67d4000
    FTGMAC100: lp->tx_buf = 00000000, lp->tx_buf_dma = 0
    Ractrends Flash mapping: 0x2000000 at 0x10000000
    Bank #0: Found 1 x16 devices at 0x0 in 8-bit bank
    Amd/Fujitsu Extended Query Table at 0x0040
    Bank #0: CFI does not contain boot bank location. Assuming top.
    number of CFI chips: 1
    Number of banks found = 1
    GetMTDPartitions() says string is "env,0x20000,0x20000,coredump,0x1500000,0x800000,persist,0x1d00000,0x200000,params,0x1f00000,0x100000,"
    MTD Partition 0 : fullpart @ 0x0 of Size 0x2000000
    MTD Partition 1 : env @ 0x20000 of Size 0x20000
    MTD Partition 2 : coredump @ 0x1500000 of Size 0x800000
    MTD Partition 3 : persist @ 0x1d00000 of Size 0x200000
    MTD Partition 4 : params @ 0x1f00000 of Size 0x100000
    Creating 5 MTD partitions on "Bank #0":
    0x00000000-0x02000000 : "fullpart"
    0x00020000-0x00040000 : "env"
    0x01500000-0x01d00000 : "coredump"
    0x01d00000-0x01f00000 : "persist"
    0x01f00000-0x02000000 : "params"
    wdt: AST2100 WDT is installed.
    wdt: AST2100 WDT nowayout = 1, heartbeat = 30 secs
    wdt: AST2100 WDT guardstartupshutdown = 1
    wdt: AST2100 WDT startuptimeout = 600, shutdowntimeout = 60
    wdt: AST2100 WDT was enabled at driver start, time remaining 53 secs.
    wdt: Guarding startup, setting watchdog for 600 seconds.
    nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
    CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Plase use
    nf_conntrack.acct=1 kernel paramater, acct=1 nf_conntrack module option or
    sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 10
    ip6_tables: (C) 2000-2006 Netfilter Core Team
    NET: Registered protocol family 17
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
    All bugs added by David S. Miller <[email protected]>
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    RAMDISK: squashfs filesystem found at block 0
    RAMDISK: Loading 10801KiB [1 disk] into ram disk... done.
    VFS: Mounted root (squashfs filesystem) readonly.
    Freeing init memory: 124K
    INIT: version 2.86 booting
    Creating /var tmpfs
    Creating directories in /var...done.
    Creating /var/log tmpfs...done.
    Calculating module dependencies... done.
    Loading modules...
        flashinfo
        helper
    Helper Module Driver Version 1.1
    mach/timer.c: Just lost 2 clock interrupts.
    Copyright (c) 2006 American Megatrends Inc.
        dbgpersist
    Persistent Driver Debugger version 1.1
    Copyright (c) 2008 Sun Microsystems Inc.
            Loading debug: usbhub [success]
            1 debug modules loaded
        gpiomgr
        gpioint
        peci
    PECI Driver: peci_initialize_device(696) Setup device peci0.
        i2c-core
    i2c_boardinfo: module license 'unspecified' taints kernel.
        i2c-dev
    i2c /dev entries driver
        i2c-algo-as
        i2c-aspeed
    i2c-adapter i2c-0: Hardware routines registered
    Registered bus id: i2c-0
    i2c-adapter i2c-1: Hardware routines registered
    Registered bus id: i2c-1
    i2c-adapter i2c-2: Hardware routines registered
    Registered bus id: i2c-2
    i2c-adapter i2c-3: Hardware routines registered
    Registered bus id: i2c-3
    i2c-adapter i2c-4: Hardware routines registered
    Registered bus id: i2c-4
    i2c-adapter i2c-5: Hardware routines registered
    Registered bus id: i2c-5
    i2c-adapter i2c-6: Hardware routines registered
    Registered bus id: i2c-6
        i2c-boardinfo
        videocap
    AST Video Capture Driver Version 1.0
    Copyright (c) 2005-2006 American Megatrends Inc.
        usb
    Initializing USB Devices -
    USB Device Endpoint Driver
    Copyright 2006 American Megatrends Inc.
    usb_init(): --USB INITIALIZING-- version MOD-VER:2011-02-04,00:09:46 with UsbEth and EndPoint-Remapping: 1
    USB GlobalDisconnect(): Called
    (E)ethBot_ConvertMacStr: converting '002128574716'
    Init AST11 Success
    USB GlobalReconnect(): Called
    mach/timer.c: Just lost 2 clock interrupts.
    USB Driver is Successfully Initialized
        btkcs
    All modules loaded.
    ... done.
    Checking device file systems
    Finished check of device file systems
    Checking configuration files state ...
    Image date:  Fri Feb  4 01:06:21 EST 2011       Image revision: 62572
    Conf date:   Fri Feb  4 01:06:21 EST 2011       Conf revision:  62572
    Configuration files state good after upgrade.
    Starting Platform Initialization: platinit.
    Running ldconfig...done
    Starting Platform Initialization: c10init.
    Starting FRU update program, platform id phase: frutool.
    Starting spdiag Platform Init: /usr/local/bin/spdiag  Done (0)
    Setting up networking...done.
    Hostname: SUNSP-1113FMN04D.
    Setting up IP spoofing protection: rp_filter.
    Configuring IPv6...done
    Configuring network interfaces...FTGMAC100: eth0:ftgmac100_open
    mach/timer.c: Just lost 3 clock interrupts.
    FTGMAC100: eth0:ftgmac100_reset, phyAddr=0x0, miiPhyId=0x0040_61e4
    FTGMAC100: eth1:ftgmac100_open
    FTGMAC100: eth1:ftgmac100_reset, phyAddr=0xff, miiPhyId=0x0000_0002
    SIOCSIFNETMASK: Cannot assign requested address
    SIOCSIFBRDADDR: Cannot assign requested address
    Failed to bring up eth1.
    done.
    Starting Constellation Blade Daemon: c10bd.
    Running ldconfig...done
    Starting portmap daemon: portmap.
    Starting ILOM Watchdog daemon.
    wdt: WDT device opened.  Watchdog starting with heartbeat = 30 secs
    mach/timer.c: Just lost 6 clock interrupts.
    wdt: AST2100 WDT was enabled at driver open, time remaining 556 secs.
    Done
    populating memstore vars from disk
    Running plat...plat: platform=b10, chassis=c01
    Done running plat
    Identifying Product Data...done.
    Starting FRU info cache program: frucache.
    INIT: Entering runlevel: 3
    Preparsing sensor.xml...
    Starting Shared Sensor Broadcast Daemon: ssbcastd  Done
    Starting system log daemon: syslogd and klogd.
    Starting capidirect daemon: capidirectd . Done
    Starting Event Manager: eventmgr  . Done
    Starting ipmi log manager daemon: logmgr . Done
    Starting System Avoidance Daemon: sad  Done
    Starting user mgmt upgrade program: usrmgt_upgrade.
    Starting the Health Monitor Daemon...
    Starting portmap daemon: portmap.
    Starting Host console Daemon: consd . Done
    Starting capidirectd: Done.
    Starting Error Telemetry Collection Daemon: etcd . Done
    Starting Fault Diagnosis Daemon: fdd . Done
    Starting IPMI Stack: . Done
    SSH RSA Host Key Files already exist. Skipping key creation ...
    SSH DSA Host Key Files already exist. Skipping key creation ...
    Starting sshd.
    Starting OpenBSD Secure Shell server: sshd-man.
    Starting SP fishwrap cache daemon: fishwrapd . Done
    Starting Network Controller Sideband Interface Daemon: ncsid . Done
    Starting Platform Obfuscation Daemon: pod . Done
    Starting lu main daemon: lumain . Done
    Starting HT sign on daemon: htsignond . Done
    Starting webgo Web Server: webgo . Done
    Starting Detection/Diagnosis After System Boot: dasboot  Done
    Starting Shared Sensor Poller: sspoller  Done
    Starting Servicetags discoverer: stdiscoverer.
    Starting Servicetags listener: stlistener.
    Starting Dynamic FRUID Daemon: dynafrud  Done
    Starting FRU info cache program: frucache.
    SUNSP-1113FMN04D login:

    For which reason do you want to known the SP processor model ?

  • Short dump while executing Ztransaction

    Hi,
      I am doing module pool programming by desinging the screens, handling events and running it thru a Z-trnasaction.
      My first query is how do I debug a module pool prg.. so as to understand that the error/short dump is because of my code or due to some other reason ...
      My second query is that I am getting a short dump with "DIAG_RFC_EXCEPTION" ... I do have access to SM59 ... do I need to check for some other RFC propeties ??... Is this error related to Basis guys??? & the line where it is dumping is as follows :-
    Einzelbildverarbeitung Transaktionsvarianten/Batch-Input/CATT
       call function 'SYSTEM_SCREEN_INPUT'
            exporting
                 modul = p_repid.
    endform.                               " %_CTL_INPUT
    Thank You,
    SB

    Hi SB,
    One way to debug module pool(Pop-up) is like this :
          Many times we would like to start debugging from a Pop-up screen, but the editor doesn't allow us to do that.
    *Instead, we have to start debugging all the way from main screen.
    *Enclosed is a 3 line script would allow us to make our edits in a Pop-up.
    *Create a file with following code and save it as 'debugger.txt' in your local drive and drag and drop it (from Windows explorer) on to the Pop-up box and the debug mode will be on.
    FILE CONTENTSMany times we would like to start debugging from a Pop-up screen, but the editor doesn't allow us to do that. Instead, we have to start debugging all the way from main screen. Enclosed is a 3 line script would allow us to make our edits in a Pop-up. Create a file with following code and save it as 'debugger.txt' in your local drive and drag and drop it (from Windows explorer) on to the Pop-up box and the debug mode will be on!
    <b>Code: (File Contents)</b>
    [FUNCTION]
    Command=/H
    Title=Debugger
    Type=SystemCommand
    Hope this will help you to find out the error while debugging the pop up .
    Cheers
    Sunny

  • [CS3][JS] beforeClose event listener problem

    Hi all,
    I want my script to do the following: every time when a user closes a document, I wish for "Check Spelling..." dialog box to show up and after the user finishes spell-checking, the document should be closed.
    But instead, if I have one document open, I get an error: Error Number: 53762, Error String: Action is not enabled, and if more than one document open, the dialog opens in the wrong document.
    As far as I understand, the problem is that the menu action is invoked AFTER the document has already been closed – it is quite clear that opening the dialog with no documents open makes no sense – that’s why the error occurs.
    Does anybody know how to solve this? Why beforeClose event type doesn’t correspond to its name? The scripting guide states: “beforeClose – Appears after a close-document request is made but before the document is closed.”
    Here is the script:
    #targetengine "session"
    main();
    function main(){
       var myEventListener = app.addEventListener("beforeClose", myCheckSpelling, false);
    function myCheckSpelling(myEvent){
       app.menuActions.item("Check Spelling...").invoke();
    Kasyan

    Thank you Ole.
    I've been at it for about 6 months.
    I am providing 3 modules. All modules are in 1 folder. That's why the ScriptPath & Department variables.
    FYI: app.pdfPlacePreferences.pageNumber was used solved issues with InEvenScript plugin for CS2. That plugin was NOT handling a loop call. To solve it, I've used a variable to turn ON & OFF the handler. "Import" is used in the OPEN script, and that will execute the event!
    1) Startup. I trimmed it for you but I kept the orignal OPEN-Event disabled. See PrePressEVENT.
    2) PrePressTEST. It's a trimmed version of the actual PrePressOPEN. But it makes InDesign crash. FYI: PrePressOPEN works perfectly when triggered manualy (Script Panel).
    3) PrepressEVENT. Disabled in Startup, I am using this one so I can debug the EVENT and do actual work at the same time. Until it crashed of course.
    The window.add() is what makes it crash. Without it, fine. But if removed myDoc = app.activeDocument points to the wrong one!
    Thank you in advance. Hope this is clear enough.
    Module STARTUP
    =====================
    #target indesign
    #targetengine "session"
    app.scriptPreferences.version = 5.0;
    //******************** BEGIN Main ********************
    var myScriptName = app.activeScript.fsName;
    var myScriptPath = app.activeScript.path;
    var myErrorStyle = "*****Error while Updating!"
    var myMsgStyle = "*****No UpDate! (Delete to Reset)";
    var myDept = "PrePress";
    //*** Initialize SCRIPT Variables
    app.scriptArgs.clear();
    app.scriptArgs.set("Department", "PrePress");
    app.scriptArgs.set("ErrorStyle", "*****Error while Updating!");
    app.scriptArgs.set("MsgStyle", "*****No UpDate! (Delete to Reset)");
    app.scriptArgs.set("Event_Path", myScriptPath); //***Path to InEventScript Plug-In
    app.scriptArgs.set("Event_Test", myScriptPath + "/"+myDept+"TEST.jsx"); //*** Debugging MODULE
    app.scriptArgs.set("Event_Open", myScriptPath + "/"+myDept+"OPEN.jsx");
    app.scriptArgs.set("Event_Close", myScriptPath + "/"+myDept+"CLOSE.jsx");
    app.scriptArgs.set("Event_Copy", myScriptPath + "/"+myDept+"COPY.jsx");
    app.scriptArgs.set("Event_Clean", myScriptPath + "/"+myDept+"CLEAN.jsx");
    app.scriptArgs.set("Event_Print", myScriptPath + "/"+myDept+"PRINT.jsx");
    app.scriptArgs.set("Event_App", myScriptPath + "/"+myDept+"APPPreferences.jsx");
    app.scriptArgs.set("Event_Doc", myScriptPath + "/"+myDept+"DOCPreferences.jsx");
    //*** Initialize GLOBAL Variables
    app.pdfPlacePreferences.pageNumber = 1; //***Flag to PREVENT InEventScript Plug-In RECURSIVE (Loop)
    SkipWRDS = new Array;
    //*** REMOVE all EVENTS
    app.eventListeners.everyItem().remove();
    //******************** EVENTS ********************
    //app.addEventListener("afterOpen", EventOpen, false); //STILL INDESIGN CRASH with OPEN !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    var tmp = "List of Events loaded\n----------------------\n";
    var myEvents = app.eventListeners;
    for (var cpt = 0; cpt < myEvents.length; cpt++)
    tmp += "Event : " + myEvents[cpt].parent.name + "\tType: " + myEvents[cpt].eventType + "\n";
    //alert ("\tPREPRESS Area\n\t\==========\n\n"+tmp);
    alert ("\tTEST Area\n\t=======\n\n"+tmp);
    //******************** END Main ********************
    //****************** FUNCTIONS Definitions ********************
    function EventOpen (itsEvent)
    var myExeSrcFile = new File (app.scriptArgs.get("Event_Open"));
    if (myExeSrcFile.exists)
    if (app.pdfPlacePreferences.pageNumber == 99999)
    app.pdfPlacePreferences.pageNumber = 1; //***Flag to PREVENT InEventScript Plug-In RECURSIVE (Loop)
    else
    app.pdfPlacePreferences.pageNumber = 1; //***Flag to PREVENT InEventScript Plug-In RECURSIVE (Loop)
    // itsEvent.preventDefault();
    // itsEvent.stopPropagation();
    itsEvent.parent.windows.add(); //*** Doc. has no Window!!!
    myExeSrcFile.open ('r:(read)');
    app.doScript(myExeSrcFile, ScriptLanguage.javascript);
    myExeSrcFile.close();
    else
    alert ("Error! Missing File:\n\n" + myExeSrcFile.fsName);
    return;
    Module PrePressTEST
    =====================
    #target indesign
    //#include "PrePressLIBRARY.jsxinc"
    app.scriptPreferences.version = 5.0;
    //******************** BEGIN Main ********************
    if (app.modalState) //*** Alert already displayed
    exit();
    if (app.pdfPlacePreferences.pageNumber == 99999)
    app.pdfPlacePreferences.pageNumber = 1; //***Flag to PREVENT InEventScript Plug-In RECURSIVE (Loop)
    exit();
    if (app.documents.length == 0)
    exit();
    var myDoc = app.activeDocument;
    //*** ALL DOCUMENTS PREFERENCE
    myDoc.textPreferences.showInvisibles = true;
    myDoc.viewPreferences.showRulers = true;
    myDoc.layoutWindows[0].transformReferencePoint = AnchorPoint.centerAnchor;
    alert (myDoc.name);
    //******************** END Main ********************
    Module PrePressEVENT
    =====================
    #target indesign
    #targetengine "session"
    app.scriptPreferences.version = 5.0;
    //******************** BEGIN Main ********************
    var myEvents = app.eventListeners;
    var tmp = "\nList of Events removed\n------------------------\n";
    for (var cpt = myEvents.length-1 ; cpt >= 0 ; cpt--)
    if (myEvents[cpt].eventType == "afterOpen")
    tmp += "Event #" + cpt + "\tType: " + myEvents[cpt].eventType + "\n";
    myEvents[cpt].remove(); //*** There MAY be MORE than 1 instance.
    //******************** EVENTS ********************
    app.addEventListener("afterOpen", EventOpen, false);
    tmp += "\nList of Events loaded\n----------------------\n";
    var myEvents = app.eventListeners;
    for (var cpt = 0; cpt < myEvents.length; cpt++)
    tmp += "Event : " + myEvents[cpt].parent.name + "\tType: " + myEvents[cpt].eventType + "\n";
    alert ("\tTEST Area\n\t=======\n\n"+tmp);
    //******************** END Main ********************
    //****************** FUNCTIONS Definitions ********************
    function EventOpen (itsEvent)
    // app.scriptArgs.set("Event_Listener", itsEvent.parent.toSource()); //*** PASS Argument
    var myExeSrcFile = new File (app.scriptArgs.get("Event_Test"));
    if (myExeSrcFile.exists)
    if (app.pdfPlacePreferences.pageNumber == 99999)
    app.pdfPlacePreferences.pageNumber = 1; //***Flag to PREVENT InEventScript Plug-In RECURSIVE (Loop)
    else
    app.pdfPlacePreferences.pageNumber = 1; //***Flag to PREVENT InEventScript Plug-In RECURSIVE (Loop)
    EventInfo (itsEvent);
    itsEvent.preventDefault();
    itsEvent.stopPropagation();
    itsEvent.parent.windows.add(); //*** Doc. has no Window!!!
    myExeSrcFile.open ('r:(read)');
    app.doScript(myExeSrcFile, ScriptLanguage.javascript);
    myExeSrcFile.close();
    alert ("Executed...");
    else
    alert ("Error! Missing File:\n\n" + myExeSrcFile.fsName);
    return;
    function EventInfo (itsEvent)
    var myString = "Handling Event: " +itsEvent.eventType;
    myString += "\r\rTarget: " + itsEvent.target + " " +itsEvent.target.name;
    myString += "\rCurrent: " +itsEvent.currentTarget + " " + itsEvent.currentTarget.name;
    myString += "\r\rPhase: " + GetPhaseName(itsEvent.eventPhase );
    myString += "\rCaptures: " +itsEvent.captures;
    myString += "\rBubbles: " + itsEvent.bubbles;
    myString += "\r\rCancelable: " +itsEvent.cancelable;
    myString += "\rStopped: " +itsEvent.propagationStopped;
    myString += "\rCanceled: " +itsEvent.defaultPrevented;
    myString += "\r\rTime: " +itsEvent.timeStamp;
    alert(myString);
    function GetPhaseName(myPhase)
    switch(myPhase){
    case EventPhases.atTarget:
    myPhaseName = "At Target";
    break;
    case EventPhases.bubblingPhase:
    myPhaseName = "Bubbling";
    break;
    case EventPhases.capturingPhase:
    myPhaseName = "Capturing";
    break;
    case EventPhases.done:
    myPhaseName = "Done";
    break;
    case EventPhases.notDispatching:
    myPhaseName = "Not Dispatching";
    break;
    return myPhaseName;

Maybe you are looking for

  • Installing J2SDK 1.4.2

    Hi, When I tried to install J2SDK1.4.2, a message "internal error 2755, 110" is prompted by the Installer saying "The system cannot open the device or file specified." And, after I clicked "Cancel, another message popped up with an "Internal Error 27

  • Add URL to Quicktime???

    I would like to embed a URL to a quicktime movie so that if you click on the movie it will launch a web page. Automator has a step where you can add a url to a movie however, I cannot get anything to work. Does anyone have any suggestions. Any help w

  • Switching itunes from PC to Mac, need a little help

    Whats the best way to move my library in itunes without using an external hard drive (other then the ipod) anyone know how to do this with the ethernet cable?

  • Fixed Discount Amount in Payment Terms

    Hello Experts, My requirement is like this. If the customer pays within 30 days(Payment Term)30 Days he will be entitled for a fixed discount amount of 12.50 Euro(irrespective of the invoice amount). Can you please provide some leads to this. Thanks

  • CREATE OBJECT inside INITIALIZATION event in ABAP

    Hi everyone, I have one question, can we create object inside INITIALIZATION event. Why, I am asking this question is, because most of the time I have seen people to create object inside start-of-selection. Please give your thought on this. The code