Java debug information

hy,
I was wondering, is it possible to let an Xlet log java output (debug information) and send it to a server on the set top box. These logging information should give information about all the applications running on the stb.
This in order to help debug problems on commercial STB without debug output and without the need to implement special functionality in all the applications.
Can someone point me out some resources? (I am a beginning java developer, so I think this is rather a java issue than an MHP or javaTV issue)
Thanks

I've used a couple of development boxes and have found that writing to standard out, via calls to System.out.println() works well. There is probably a serial port on your debug box that you can connect up to a PC to read the the debug output.
If you want to know what applications can be run on the STB then you'll need to write a bit of code to query the org.dvb.application.AppsDatabase. getAppIDs() will return an enumeration org.dvb.application.AppID objects each of which can be looked up in the database to give you more information about the application in question
Roger

Similar Messages

  • Information about class files debugging information

    Hi,
    As known, when compiling "javac -g ..." the class files contain debugging information.
    my Naive question is WHAT is this information?
    could you please add any links to articles about this debugging information?
    Many thanks!!

    http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#22856
    http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#5956

  • How to determine if class was compiled with debugging information?

    How may I determine if class was compiled with debugging information? Aside from actually executing the class in a debugger.

    As known, when compiling "javac -g ..." the class
    files contain debugging information.
    my Naive question is WHAT is this information?
    could you please add any links to articles about this
    debugging information?http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#22856
    http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#5956

  • Debug information "Unknown Source" on Tomcat 6 server log

    I install a Tomcat 6. When I run my application, the runtime exceptions debug on Tomcat server log did show any line number. It make me difficult to find the bug.
    Can anyone tell me why the exception debug info don't show line number instead od "Unknown Source" when I use Tomcat 6? The debug information like:
    java.lang.NullPointerException
    at com.xxx.xxx.MailServlet.process(Unknown Source)
    at com.xxx.xxx.MailServlet..doPost(Unknown Source)
    at org.apache.catalina.xxxxxx
    Actully it is common runtime error. Do I need confiugrate Tomcat 6 for that and I can see the excat line number?

    key being to turn debug="true" on (javac -g ?) when you are compiling

  • Want to remove debug information

    Hello everyone,
    I am wondering how to remove debug information (for example, System.out or System.err) automatically when I build/compile a Java project? Does Java compiler or build tool has such options when we build/compile a Java application?
    Thanks in advance,
    George

    The resource you recommended is very helpful. If I
    can not use 3rd party libraries in my application,
    are there any other approaches to remove debug
    information?
    regards,
    GeorgePls be forewarned that this is not perhaps the cleanest way to do it, but it will work.
    //begin with writing our own utility that prints to the console
    package com.mylogger;
    class MyLog
       private final static Printwriter out = new PrintWriter(System.out, true);
       private static boolean shouldPrint;
       static
              //read a property from a config file
              //the property should be set to true for say development
              //and false for say production
              Properties props = new Properties();
              props.load(ClassLoader.getSystemClassLoader ().getResourceAsStream("path to your config file"));
              boolean shouldPrint = Boolean.valueOf(props.get("shouldPrint")).booleanValue();
       public void log(String str)
              if(shouldPrint)
                      out.println(str);
              else
                     //do nothing, no output statements to console
    }hope this helps.
    tx,
    ram.

  • How can i disable debug information from the end user

    By changing debug flag in the url to YES it is possible to view debug information. i want to disable debug information, so that end user could not see debug information. can anyone please tell me the solution.

    Sundhar,
    when you export the application select Debugging:No
    It's one of the available properties together with Build Status, Export Comments, Export Supporting Objects Definitions and so on.
    Bye,
    Flavio
    http://www.oraclequirks.com

  • The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.

    got event ID 4015 and source DNS-Server-Service. please suggest how to fix this issue
    The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
    Raj

    Hi
     first run "ipconfig /flushdns" and then "ipconfig /registerdns" finally restart dns service and check the situation,also you can check dns logs computer management ->Event viewer->Custom Views->Server roles->DNS.

  • How to verify existence/absence of debug information in a jar file

    Given a jar, how can I tell if it contains debug information or not? Is there a tool for this? (e.g, like the 'file' utility on linux, which outputs whether an ELF executable is stripped or not)
    Amit

    I'm not saying it's pretty... but there's a horrible quick & dirty way of checking for debug info
    Typically the debugging information is stored is special attributes in the class files, like "LineNumberTable", "LocalVariableTable" etc.
    Depending on which type of debugging setting was used to compile the source code, these will be present in the binary class file.
    So, you might unjar the contents of the jar and run eg.
    find "LineNumberTable" *.class
    to find all classes with line number information.
    I tried it on a sample class and it worked for me here.
    Hey, I know it's a hack, but not everyone has time to write a full disassembler !
    regards,
    Owen

  • Debug information in putty client

    Can anybody help, do not see debugging information when you connect through a ssh client

    Hi Dmitry,
    I am wondering if you are SSH to a UC500 or IOS device.  Are we talking about something simple as doing a  "terminal monitor" or the 'term mon' command whilst in a telnet or SSH session to see the console debugging results?
    regards Dave

  • How to see debug information without turning on the CF administrator Debugging settings?

    Hi All,
    I want to see the debug information on a web page without Turning ON the debugging settings in CF administrator.
    http://helpx.adobe.com/coldfusion/kb/coldfusion-debug-information-using-mode.html
    In this link, they have given by adding mode=debug in a web page, it will display the debugging information, but it has not showed it up.
    Any help is highly appreciated.
    Thanks!

    The debug info is not even created unless debugging is switched on.
    Adam

  • Remove debug information from UWL

    Hello.
    We need to remove the debug information from UWL (under the list of tasks). This debug information contains the next blocks:
    - logged-on user information
    - current view information
    - current navigation information
    - current item information
    Did anyone face this situation? Is it XML-configuration or properties of UWL iView?
    Thank you.

    Hi there,
    You can disable the UWL support information by doing the following:
    (700 + system (so EP7 or higher)
    1. Log on to the portal
    2. Navigate to the following path: system administration   > system
    configuration
    3. In detailed navigation click on the UWL & Workflow folder
    to expand out
    4. Then click on the Universal Worklist Administration link
    5. Scroll down to the bottom of the page:
    Optional Universal Worklist Service Configuration
      Open the Tray for the Optional UWL Service Configuration
    Click on the button to open the tray for the optional UWL service
    configuration
    6. Scroll down again
    7. Go into edit mode
    8. Display Support Information:   Set the parameter to false
    9. Save
    This will remove the detailed information from your UWL Iview. 
    If your portal is lower version than 700 you can disable the parameter on the iview itself.  Display support information should be set to false if you do not want to see this detailed information.  However, if you need to troubleshoot UWL issues, this information is very very important :).
    I hope that this information is helpful to you!
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • Using debug in console (java -debug ??)

    How can I turn on the java debug option .. to display on the screen the info about the current running application ?
    (I know this is an old question but I didn't found it in the search space...)

    java -debug=true

  • Making debug information display - more questions

    Hi all - I work on a remote CF server and need debugging information displayed at all times. Unfortunately, I lost my dedicated IP address which could be plugged into the server, which gave me the privilege of seeing the information i need.
    Earlier this week, I left a message on this forum related to this issue and was told to use <CFSetting ... to resolve the issue.
    I've tried it and have not been able to see server variables and other debug information information.
    Will this tag override the server variable "Enable Debugging" if that is set to "no"? (I suspect not, but no hurt in asking.)
    Also, is there some way or some service that can take my new dynamic IP and resolve it to a static IP number? Right now, I use dynDns.com to resolve the issue, but this results in a domain name, and not a domain IP, which can be used in CF MX Administrator.
    Note that this is how I have the tag setup.
    <cfsetting
       enableCFoutputOnly = "yes"
       showDebugOutput = "yes" >
    Do I understand how this tag is supposed to work? I want to see all server information on every page. Does CFSetting only work when there is an error?  Arrrrrrggggggg - I'm very needy right at the moment to resolve this issue.

    As I replied in your earlier post, NO <cfsetting....> does not override the debug setting in the administrator.
    If debugging is turned off in the administrator, ColdFusion does not generate ANY debugging data.  This is a performance gain, and is often done on production servers.
    For the <cfsetting....> tag to work.  Debugging has to be turned on, AND you have to be connecting to the server with an IP that is allowed to see the debugging.  If there are now IP's set in the filter, then ALL IPs can see the debugging output.
    This is what many ISP's will do.  They will turn on debugging and provide no IP filters so that every user will see the debugging output and leave up to the developers to use the <cfsetting....> tag to display or not display the output as desired.
    To answer your second question.  DNS is not going to help you.  You need to provide an IP address, DNS is for providing an Domain Name to substitue for an IP address.
    The only idea I could have, is if you could find a proxy service that would give you another IP address and then proxy that address to yours.  But that sounds like a rather flaky option to me.

  • [Faces] Debug information like UIX?

    Hi All,
    I used to work with ADF UIX and what I liked was that you had a setting in 'uix-config.xml' where you could enable debug information.
    After enabling this setting you would see every parameter that was sent in your debug console.
    My question is, is this also possible with ADF Faces? Is there a debug setting to get that extra much needed debug information.
    Thanks,
    Gideon

    Hi Frank,
    Thanks for your reply. I already have those arguments in my j2ee-logging.xml.
    I also have
    <debug-output>true</debug-output>in my adf-faces-config.xml
    But it didnt get the desired effect.
    To elaborate,
    there was an option in the uix.config.xml like this:
        <application-configuration debug="true">
            <debug-indent-output>true</debug-indent-output>
            <debug-flush-on-end-element>true</debug-flush-on-end-element>
            <debug-log-to-console>true</debug-log-to-console>
            <debug-log-request-parameters>true</debug-log-request-parameters>
            <debug-log-request-timing>true</debug-log-request-timing>
            <debug-partial-responses>true</debug-partial-responses>
            <debug-annotate-parsed-xml>true</debug-annotate-parsed-xml>
        ...That would let you see every parameter that was passed over the request, and you could see every event that fired.
    Is there something like this for ADF Faces?
    I would like to have more verbose output in my Embedded OC4J-log
    Hope someone can helpout.
    Thanks

  • No debug information

    I'm appending my site's debugSuffix to the code generating the itunesu url and logging in as a site administrator. Nevertheless, when I log in, I don't see any debug information in iTunes. My guess is that I may be using an incorrect debugSuffix. Is it possible to have my debugSuffix verified or reset and resent to my site's tech email address?
      Mac OS X (10.4.9)  

    Jose,
    Couple of things ...
    The debug string is in the form "/abc123" ... that is, a slash followed by three letters, then three digits. So that is something for you to check.
    Next thing is that since you're running Mac OS X 10.4, you might be interested in a little application I cooked up that helps with just this sort of thing (connecting to your iTunes U site):
    http://itunes.uic.edu/itunesuaccess.html
    MacBook Pro   Mac OS X (10.4.8)   I lied. I'm running Leopard

Maybe you are looking for

  • TLFTextField or TLF, which is better to use in CS5?

    Hi, I have been developing content using TLF with CS4 and in Flash Builder. Recently when I switched to CS5, there was this cool TLFTextField. So now I wonder, TLFTextField or TLF, which is better to use in CS5? Almost all of my text will be dynamica

  • Maximum Line items 999 exceeded

    Hi, We have an SD document having more than 2150 line items, when it is releasing to Accounting, it is giving error message like Maximum Line itesm 999 exceeded. I have searched SAP Notes 1353125, 1353827(MM side) 36353 (summarisation) and 511873 - i

  • AP process after IR

    Hi, In AP after we do the Invoice verification in which GR/IR - Dr. Vendor - Cr, and after we do the payment through F110 (Vendor- Dr, Bank clearing - Cr) what do we do next, is there any reconciliation that we need to carry out, can you please expla

  • SAP Note #723909 Clarification needed: 2G heap for server nodes

    We mare upgrading from Enterprise 4.7 to ERP 6.0 SP12. For our ESS/MSS we will use standalone Java NW 7.0 SP14 with XSS SP12. Our portal servers and ERP ABAP are Unix Solaris 9 or 10 64-bit. The portal servers are 4CPU x 16G. We use three server node

  • PC wont see printer

    Hi i have a hp photosmart c7280 i have successfully connected it to my entreat wnr 2200 via wifi, and it shows up in my routers attached devices list. my PC is windows 7 x64 and is connected to the same router via ethernet,i have installed the driver