Problem with debug info...

Hi
CC -V
CC: Sun C++ 5.9 Linux_i386 Build27_2 2006/08/02
CC -g -c test.cpp
>> Assertion:  DBGGEN ERROR: FILE="../src/dbg_dwarf2.c", LINE=%7605, DW_DLE_DEBUGINFO_ERROR [DBG_GEN 5.1.18] (../lnk/dbg_dbggen.cc, line 4336)
    while processing test.cpp at line 0.I can not paste test.cpp here though, it's quite huge since I created it with CC -E, but anyway, perhaps someone at sun is interested ?
/Lars

This looks like bugid 6456470. It's fixed in our development
branch, but the fix won't be available until Express 3 which
isn't for a month or two. The problem is related to the way
symbols and types reference other symbols and types. You
can work around it by not using -g for those source files where
it happens. Not a very good workaround, I know. Of course,
that's why we have express releases. To find problems like
this as early as possible. ;-)
--chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Problem with debug XT75

    Hello
    I have problem with debug program for XT75. I work in XP , install java j2sdk1.4.2_09 (from CD) , eclipse (with EclipseMEplugin_123) ,SMTK and connect terminal TC65 with XT75 module.
    When I want to debug my simple Midlet HelloWorld under celipse I get error:
    =========================================================================
         Starting XT75 emulator for debugging application. Please wait ...
         =========================================================================
         COM port used for "emulator session": COM1
         Used baud rate for the module "115200 baud"..
         >>> Emulator is set to no download of Jar and Jad file! <<<
         Initialize module for debugging ...
         The module is now initialized for debugging!
         >>> Establishing TCP/IP connection "IP connection for remote debugging"... <<<
         Please wait ...
         Done.
         >>> Starting Debug Agent ... <<<
         The debug agent is not started!
    File WM_Debug_config.ini in WTK for XT75 is:
    # This ini file is used to configure emulator.exe
    # Hints:
    # Store this ini file into the directory where the emulator.exe is located!
    [Module type]
    # Define the used module type
    ModuleType=XT75
    [AT command]
    # These AT commands are used for initialising the module for debugging!
    # Hints:
    # The IP address range 10.x.x.x is not supported for configuration of debugging!
    AT-Cmd1=S:ATE1
    AT-Cmd2=R:OK
    AT-Cmd3=S:at+cpin?
    AT-Cmd4=R:+CPIN: READY
    AT-Cmd5=R:OK
    AT-Cmd6=S:at^scfg=userware/debuginterface,"192.168.0.21","192.168.0.22","0"
    AT-CMd7=R:^SCFG: "Userware/DebugInterface","192.168.0.21","192.168.0.22","0"
    AT-Cmd8=R:OK
    AT-Cmd9=S:at^scfg=userware/mode,"debug","a:/","2000"
    AT-Cmd10=R:^SCFG: "Userware/Mode","debug","a:/","2000"
    AT-Cmd11=R:OK
    AT-Cmd12=S:at^scfg=userware/stdout,UDP,2000
    AT-Cmd13=R:^SCFG: "Userware/Stdout","UDP","2000"
    AT-Cmd14=R:OK
    [System.out port]
    # used UDP port number range: 1024 ... 65535
    # comment out the following line for switching off Java "System.out" displaying in the IDE window
    #UDPport=12345
    [DebugAgent delay timer]
    # settings for Debug Agent delay timer in ms
    #DATimer=2000
    I send At command to terminal AT^SCFG? and get answer:
    ^SCFG: "AutoExec","0","0","0","0",""
    ^SCFG: "AutoExec","0","1","0","0","","000:00:00","000:00:00"
    ^SCFG: "AutoExec","0","1","1","0","","000:00:00","000:00:00"
    ^SCFG: "AutoExec","0","1","2","0","","000:00:00","000:00:00"
    ^SCFG: "GPRS/ATS0/withAttach","on"
    ^SCFG: "GPRS/AutoAttach","disabled"
    ^SCFG: "GPRS/PersistentContexts","0"
    ^SCFG: "GPRS/RingOnIncomingData","off"
    ^SCFG: "MEopMode/Airplane","off"
    ^SCFG: "MEopMode/Airplane/OnStart","off"
    ^SCFG: "MEShutdown/OnIgnition","off"
    ^SCFG: "PowerSaver/Mode9/Timeout","20"
    ^SCFG: "Radio/Band","3","15"
    ^SCFG: "Radio/OutputPowerReduction","3"
    ^SCFG: "Serial/USB/DDD","0","0","0409","0681","0034","Siemens AG Wireless Modules","XT75",""
    ^SCFG: "Tcp/BufSize","5200"
    ^SCFG: "Tcp/IRT","3"
    ^SCFG: "Tcp/MR","10"
    ^SCFG: "Tcp/OT","6000"
    ^SCFG: "Tcp/SAck","1"
    ^SCFG: "Tcp/TTcp","0"
    ^SCFG: "Tcp/WithURCs","on"
    ^SCFG: "Trace/Syslog/OTAP","0"
    ^SCFG: "Userware/Autostart","0"
    ^SCFG: "Userware/Autostart/AppName",""
    ^SCFG: "Userware/Autostart/Delay","0"
    ^SCFG: "Userware/DebugInterface","192.168.0.21","192.168.0.22","0"
    ^SCFG: "Userware/Passwd"
    ^SCFG: "Userware/Mode","debug","a:/Project02.jar","2000"
    ^SCFG: "Userware/Stdout","UDP","2000"
    ^SCFG: "URC/CallStatus/CIEV","restricted"
    ^SCFG: "URC/CallStatus/SLCC","verbose"
    ^SCFG: "URC/Datamode/Ringline","off"
    ^SCFG: "URC/Ringline","local"
    ^SCFG: "URC/Ringline/ActiveTime","2"
    OK
    Please help me.
    Thanks.

    Hello,
    I would like to know if you could debug?
    That's the same problem what I have.
    At the moment I have the DSB75 and the XT75 module I don't know what else I can to to run the program under debug.
    OS: Win XP
    eclipse-SDK-3.3.1.1
    eclipseme.feature_1.7.7
    Regards,
    NOVI

  • Release with debug info

    In general, is it proper to release an official distribution with debug info, i.e., compile with -g option? is there a standard on this?
    Thank you
    J.L.

    From my point of view from having worked in a department where we often got 3rd party code...
    This is a customer service issue. If you leave the debug info in, then it will be easier for us (the customer) to understand what's going on when something breaks, and it will be easier for you to fix it.
    You shouldn't remove the debug info unless you're 100% confident that the code is flawless (and you should never be so confident).
    Similarly, you shouldn't obfuscate code unless the documentation is 100% complete. Some vendors are paranoid about their code being stolen, but most people decompile as an aid to understanding what they've purchased, not to steal it. Obfuscation reduces the usability of the product, and creates a hostile vendor/customer relationship.
    Well, I've digressed a bit. The point is that unless there's a very strong reason otherwise, the customer service aspect trumps it and you should leave the debug info in.

  • Problem with  Creating Info Record

    Hello Gurus,
    I've problem with Creating Info Record
    i tried to create info record for Plant Specific/Purchase Org
    The first Screen General Data is OK
    i entered all the data in the next screen ie
    Purchase Organization Data screen but i'm getting error
    <b>Make an entry in all required fields</b>
    but there is Mandatory Textbox ie "VALID TO" which im unable to select Bcos its Disabled
    pls help me regarding this
    thanks in advance

    Hi
    Have u given the net price. <b>VALID TO</b> is the date until which the price shown in the info record is valid.
    If there is no price that is valid on the current date, the last-valid price is displayed and the date field contains the day before the start of the next validity period (this may be 12.31.9999 if there is no further validity date). If all validit periods lie beyond the current date, the price of the next period is displayed. The date field then contains the end date of this period.
    These validity periods we will maintain Purchse data CONDITIONS while creating info record. Check the validity period for the conditions.
    Hope this will helps u
    Ravi
    Ravikumar Bolla

  • Problems with RWD Info Pak 5.5 and SAP 7.2

    Hi, since the new SAP GUI was installed, I've been having problems with RWD Info Pak 5.5.  I start to record Event step in SAP and when I stop and go back to the word document, Info Pak will not record any of the steps but might record pieces of snapshots.
    Is anyone else having this problem or know if there is a fix?
    Thanks!

    Similar problem here, after updating xorg and nvidia driver the system freezes with nvidia logo on display and caps lock and scroll lock leds blinking.
    I got nvidia geforce 7300.
    Any solution to this besides downgrading?

  • HT204088 I have a problem with billing info.....

    After the last purchase, it said that was a problem with billing the last purchase and need to verify my billing info, i put the password, trying to load and after few sec asks me again,i put again...the same....i tried at least 10 times and does that.....i check if my creditcard didnt have money and it has......i check the password it works (i tried a wrong pass and corrected me)......WHat is going on??? Please help....

    I think iPhone is jus a bloody rip off I downloaded a app now I can't download another app I called customer service more then 10 times today they took away 15 pounds of my call time so I would recommend everyone not to use I phone they don't give much help but they love ripping poor customers like myself

  • Compiling with debug info

    Hi!
    I get a question about PL/SQl, How can I compile a Block PL/SQL with debug information, in SQL*Plus?
    Thanks in Advance
    - Pablo

    From the symptoms you describe, it is possible that the shared library contains a bug, but it is more likely that the problem is in your code, passing bad data to the shared library.
    The problem might be a compiler bug, but I think an error in your code is more likely.
    For example, your code as written might have undefined behavior that works by accident when compiling without optimizing, but fails when the compiler improves the runtime code.
    Some examples:
    1. A classic MT programming error is failing to declare a variable volatile when it is shared by more than one thread. In each thread, the compiler assumes it can remember the value of the variable and not reload it between references.
    2. "x = ++x + b;" Modifying a variable twice in an expression withtout sequence points has undefined behavior -- compiler optimization can affect the result.
    3." foo(x, x+=3);" the order of evaluation of function arguments is unspecified, so the actual values passed to foo could depend on optimization.
    With C++ 5.5, you get some warnings from system headers that you can't do anything about, which I suspect is why you have disabled some warnings. Unfortunately, you might be disabling warnings that you need to see. That is, some of the disabled warnings could point to invalid code that results in the program crash.
    I suggest using w instead of w2 (to avoid uninteresting warnings), and fix your code to eliminate the warnings you get.
    In the current compiler, C++ 5.7 in Sun Studio 10, we have made some adjustments to warnings to make w and w2 more useful. You should consider upgrading.You can get a 60-day free trial version here:
    http://www.sun.com/software/products/studio/index.xml
    Also get the current patches for it here:
    http://developers.sun.com/prodtech/cc/downloads/patches/index.html

  • Problem with debug servlet Eclipse 3 tomcat 5

    I have configured Eclipse 3 with Tomcat 5.0.28 and tomcatPulginV3
    but, I have problem to debug my servlet
    I have error message
    help me it is urgent
    Failed to connect to remote VM. Connection refused.
    java.net.ConnectException: Connection refused: connect
    java.net.PlainSocketImpl.socketConnect(Native Method)
    java.net.PlainSocketImpl.doConnect(Unknown Source)
    java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    java.net.PlainSocketImpl.connect(Unknown Source)
    java.net.Socket.connect(Unknown Source)
    java.net.Socket.connect(Unknown Source)
    java.net.Socket.<init>(Unknown Source)
    java.net.Socket.<init>(Unknown Source)
    org.eclipse.jdi.internal.connect.SocketTransportImpl.attach(SocketTransportImpl.java:47)
    org.eclipse.jdi.internal.connect.SocketAttachingConnectorImpl.attach(SocketAttachingConnectorImpl.java:103)
    org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:131)
    org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaunchConfigurationDelegate.launch(JavaRemoteApplicationLaunchConfigurationDelegate.java:75)
    org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
    org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
    org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
    org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)Thanks

    Check your packages which you are importing....

  • Problems with 'Get Info' in movies and TV Shows

    Hey all,
    Very Recently I have acquired a problem with my iTunes application and specifically the 'Get info' option in movies and TV Shows. For some reason I when I use apple + I or go to file then 'get info' the information box for the item in question does not appear.I have tried restarting iTunes and also restarting my machine but the problem still persists. any help would be appreciated, thanks.

    bump

  • Problems With Syncing Info To New Device

    I have tried to sync info from my previous palm to my new palm.  The sync is from the PC to the palm.  The sync stalls when it gets to the calendar.  It is just stuck there and I can't seem to get past it.  Does anyone have any suggestions for me?

    At the top of each section of the Forum are special posts that have a dark background.  They are answers to questions that get asked repetitively - over and over and over again!
    Yours is of this type.  Please look at the top of the section for "problems with syncing contacts and calendar".
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Problem with Debug mode and SLD

    Using the config tool, we have turned the Debuggable flag to 'yes' and set the Debug mode to OFF.   Now from the studio, when I enable debugging for the process, the server0 stops successfully and restarts successfully. However, during the restart, the SLD service errors out and does not get started. It encounters the following exception. I can verify the error in std_server0.out
    With erred SLD service, when I try to deploy and run the webdynpro application from studio, the deploy fails with the same exception.
    We tried all kinds of restart (of the engine\server instance), debuggable and debug mode setting permutations, but not successfull.  (debug port is 50021)
    We are having remote debug server setup (not local).
    Does anybody have any suggestions???
    The exception we get is:
    Finished with warnings: development component 'CreateOrder'/'local'/'LOKAL'/'0.2007.11.26.14.33.54':Caught exception during application startup from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error occurred while starting application local/CreateOrder and wait. Reason: Clusterwide execption: server ID 3775750:<Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Implied start failed for dependency :local/CreateOrder -> service:sld', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key Implied start failed for dependency :local/CreateOrder -> service:sld', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Implied start failed for dependency :local/CreateOrder -> service:sld', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key Implied start failed for dependency :local/CreateOrder -> service:sld (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

    Hi Michael,
    one way is to enhance the server go.bat with debug parameters. Under c:\usr\sap\<SID>\j2ee\<INSTANCE>\cluster\server\go.bat define the following params
    set DEBUG_PORT=5000
    set DEBUG_PARAMS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=
    and add both params to the java arguments (e.g. behind the -classpath): %DEBUG_PARAMS%%DEBUG_PORT%.
    Regards,
    Stefan

  • Packages  compiled with debug info

    Hi,
    How do we check if a package has been compiled with DEBUG information or not?
    The package could have been compiled like this:
    ALTER PACKAGE pk1 COMPILE DEBUG
    Is there any table that I can check?
    Thanks in advance.
    Sanal Krishnan

    Is this a 10g feature?It seems only user_plsql_object_settings is new in 10g.
    all_plsql_object_settings is available in 9i:
    michaels>  select * from dict where table_name like '%PLSQL%'
    TABLE_NAME                     COMMENTS                               
    ALL_PLSQL_OBJECT_SETTINGS      Compiler settings of stored objects acce
                                   ssible to the user                   
    1 row selected.
    michaels>  select name, type,plsql_debug from sys.all_plsql_object_settings where owner = 'SYSTEM'
    NAME                           TYPE         P
    DEF$_PROPAGATOR_TRIG           TRIGGER      
    REPCATLOGTRIG                  TRIGGER      
    michaels>  select * from v$version
    BANNER                                                         
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    PL/SQL Release 9.2.0.8.0 - Production                          
    CORE     9.2.0.8.0     Production                                      
    TNS for HPUX: Version 9.2.0.8.0 - Production                   
    NLSRTL Version 9.2.0.8.0 - Production                          

  • AIR 3.9.0.790 - Problem with debug configurations

    Hi there
    After updating from 3.9.0.720 to 3.9.0.790 it seems that my debugging configurations are ignored (works fine with build 720). When running the app on AIR Simulator I always end up with a 500 x 375px screen with a high resolution display simulated.
    - Flash Builder 4.7
    - AIR 3.9.0.790
    - Starling-Project for iOS only
    - Debug-Configuration: various iOS devices (Mobile Application)
    Am I missing something?! Any hints?
    Regards,
    René

    We're having the same problem.  In our project, the only difference is switching between AIR 3.6 and 3.9.0.1030 (obviously a wider range than the above), and the 3.9 ADL simulator ignores the -screensize argument and forces the window to 500x375.  Oddly, this affects only one Mac out of three.
    Perhaps interestingly, the affected Mac is OSX 10.8.4 (server edition), while the ones that work are 10.8.2

  • Problems with debugging in Oracle sql developer

    Dear all,
    I have a stored procedure with about 3500 lines of code. The SP is calling some other SP's , so altogether around 30,000 lines of code is to executed.
    I have some delete statements in the beginning of my SP.
    Till nw i was able to debug and run this SP.
    But nw I am facing a strange problem.
    I can run the SP.
    But if i try to debug it , it gets hanged after the delete statement and does not move forward.
    So i moved all that statements to another SP and I call the new SP from my present one.
    In this way If i debug , after calling the newly created SP , my main Sp does not recognise the break points , and it just finishes execution ..
    Can any one help me on this.
    Thanks in Advance,
    Kurian Simon

    Simon,
    Did you move the breakpoint, and once you'd moved the lines of code, did you recompile, using compile for debug? Also, it's important to do compile for debug on all the program units you want to debug, otherwise SQL Developer will just step over the units not compiled for debug.
    Sue

  • Problem with debug EP6

    <b><i>Hi all</i></b>,
    I debug an EP6 application with the Developer Studio. This work fine but when the debug starting, it automatically switch in the EP perspective and not in debug perspective?! Each time! Any idea ?
    <b><i>Best regards.</i></b>

    Hi,
    I had this problem until recently myself.
    You can stop the behaviour by the following steps:
    Open the debug configuration screen>in the right hand navigation menu select the application you are debugging beneath the item 'Remote Application'>Click the 'Common' Tab in the left hand window. There you will find the option 'Perspective to switch to or open when launched'
    Change this setting to default and the problem is resolved.
    Please assign points if this resolves the problem or is helpful and let me know if require further detail.
    Kind Regards
    Daniel

Maybe you are looking for

  • HT4437 airplay and apple tv

    I have apple tv which is set up to my PC.  Sometimes when I want to listen to my music through my entertainment system via PC and airplay, the airplay does not appear on the computer. Therefore I cannot access apple tv/entertainment system speakers. 

  • HP LaserJet Pro P1606DN compatible w/ Airport Express?

    I am going to be purchasing a new Mac Pro and would like to be able to print wirelessly to a laser printer. I like the HP LaserJet Pro P1606DN, but it is not a wireless printer, per se. I understand after speaking with an Apple representative that a

  • Supplier DN

    How to create supplier DN in consumer for single master replication? sk

  • Rendering of an 8Bit-tiff with java.awt produces crap

    Hi Folks, i do a downsampling of tiff images. The source tiffs are colored 8 Bit greyscale with a 256 color-table. Now i have 2 possibilities to resample with java.awt: 1. the target-tiff is of 24Bit true color: BufferedImage objDownsample = new Buff

  • F110-Reports

    Dear Experts, Is there any standard reports are available for vendor bulk payment (F110) other than "S_P99_41000099 - Payment List" in order to download and send payment details to Banker? Regards Babu