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.

Similar Messages

  • 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                          

  • 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 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Looking for JDK binary compiled with debug info

    For some reason JTree.startEditingAtPath() is not doing what I expect, and I'd like to step through the JDK code to see what's going on. Back with Java 5 there were debug builds of the JDK that would let me do this. I've been searching, but cannot find the equivalent for Java 6. Are there still debug binaries out there I can grab (and not have to compile the JDK myself)?

    JDK is open source. Just get the source and step through it in your debugger.

  • Debug info unavailable for web services

    I've run into an interesting problem. I'm trying to remote debug a web service
    I've deployed on wls 7. I can connect to the server, place breakpoints, and step
    through the code, but there isn't any information available (objects, stack, etc).
    It just says debug info unavailable. Thing is, there is another application deployed
    in which I can see all the debug info. Yes, they're both compiled with debug info
    turned on.
    I originally thought that a difference in deployment might be an issue, since
    one is deployed as a directory, and the other as an ear file, but deploying them
    both as a directory didn't seem to help. Does anyone have any idea?
    My debugger is the one included in intellij idea...
    --pete

    mrbean wrote:
    I've posted some questions about this already, but this one comes at it from a different angle.  I need to establish a secure link between a client and server using SSL (TLS actually).  I have to develop the client side, and another company has already created the server side.  Although I have a million questions about the client side, my question concerns the server side.
    Can I (using the instructions found in the whitepaper entitled, Setting up SSL of Web Services in LabVIEW 2009) setup a LabVIEW server on the same PC so that I can test my client.  I just want to debug my handshaking code, and verify that I can setup a secure link.  I'm not sure how I'll know just yet, but I'm wondering (until I get the 3rd party server) if I can do it all locally to accelarate testing.
    One can only guess what could go wrong when MrBean does LabVIEW!  (The TV Character, not the user, of course.)
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Performance Issues with Debugging even in Display Mode

    Hi not certain if this would sit in Security, ABAP or Basis, but lets start here as it is security related.
    S_DEVELOP with any activity on DEBUG on a production system is a concern, but what are the performance related issues when a super user has to go into debug in display only on a production system because of a really complex issue?
    I've heard in the past of a scenario where system performance was impacted, and we have notes around the allocation of S_DEVELOP display DEBUG access to this point. (I've summarised these below)
    The risk with debug is associated with the length of time that the actual debugging process is being performed.
    u2022     Work processes are dedicated solely to the users for the duration of the debug. If these are being performed for a long time, these can cause issues with not enough work processes being available.
    u2022     It can cause DB2 locks. If the debug session last awhile, DB2 locks are not released. This impacts the availability of tablespaces, thus, affecting various transactions running across the system.
    Even with these concerns, security will often get asked for debug display access.
    As security is about risk identification, assessment and then controlled access what do other organisations do?
    Options (not exhaustive) are "No Debug ever" or "Debug display only via a fire fight or super user on a time limited basis".
    We are currently in the "debug display only via fire fight" camp, but would like to canvas opinion on this.
    As one of the concepts of security is Availability of data (and to an extent ensuring the systems are up and running) do the performance risks push the security function to the "No Debug Ever" stance.

    If you need to debug in production, then 9 times out of 10 you need to do root-cause analysis: The developer is the problem.
    Writing sloppy code and not testing properly should not be an excuse for debugging in production.
    But of course, there are exceptions even when you do try to keep them to a minimum.
    To add to Jurjen's comments, also note that the debugger only has a limited capability of doing a rollback. So you can quite easily and unintentionally create inconsistencies in the system - also in display mode - which is an integrity problem, and typically more critical than availability problems or even potential confidentiality concerns.
    Cheers,
    Julius
    Edited by: Julius Bussche on May 15, 2009 10:50 AM

  • I purchased a used 2008 iMac. And although the previous owner said he deleted all of his information his iCloud account is still the primary. I don't have a clue about what to do about it. I signed him out and logged in with my info, but still no go.

    I purchased a used 2008 iMac. And although the previous owner said he deleted all of his information, his iCloud account is still the primary. I don't have a clue about what to do about it. I signed him out and logged in with my info, but still no go. Is there any way to eliminate his iCloud account and make mine the primary without rebooting it back to factory settings? There was an update, I believe, that I couldn't install because i didn't have his password that is what made me aware that his acct. was still active. I don't know what to do. Any help is greatly appreciated. Thank you.

    Before buying a second-hand computer, you should have run Apple Diagnostics or the Apple Hardware Test, whichever is applicable.
    The first thing to do after buying the computer is to erase the internal drive and install a clean copy of OS X. You—not the original owner—must do that. Changes made by Apple over the years have made this seemingly straightforward task very complex.
    How you go about it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    It's unsafe, and may be unlawful, to use a computer with software installed by a previous owner.
    1. If you don't own another Mac
    a. If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller—not from eBay or anything of the kind. If the machine is very old and has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
    b. If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for a MacBook Air. You should have received the media from the original owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To start up from an optical disc or a flash drive, insert it, then restart the computer and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    c. If the machine shipped with OS X 10.7 or later, you don't need media. It should start up in Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    d. Some 2010-2011 models shipped with OS X 10.6 and received a firmware update after 10.7 was released, enabling them to use Internet Recovery. If you have one of those models, you can't reinstall 10.6 even from the original media, and Internet Recovery will not work either without the original owner's Apple ID. In that case, contact Apple Support, or take the machine to an Apple Store or another authorized service provider to have the OS installed.
    2. If you do own another Mac
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to prepare a USB device, then start up the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can start from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    3. Partition and install OS X
    a. If you see a lock screen when trying to start up from installation media or in Recovery mode, then a firmware password was set by the previous owner, or the machine was remotely locked via iCloud. You'll either have to contact the owner or take the machine to an Apple Store or another service provider to be unlocked. You may be asked for proof of ownership.
    b. Launch Disk Utility and select the icon of the internal drive—not any of the volume icons nested beneath it. In the  Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
    c. An unusual problem may arise if all the following conditions apply:
              OS X 10.7 or later was installed by the previous owner
              The startup volume was encrypted with FileVault
              You're booted in Recovery mode (that is, not from a 10.6 installation disc)
    In that case, you won't be able to unlock the volume or partition the drive without the FileVault password. Ask for guidance or see this discussion.
    d. After partitioning, quit Disk Utility and run the OS X Installer. If you're installing a version of OS X acquired from the App Store, you will need the Apple ID and password that you used. When the installation is done, the system will automatically restart into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    e. Run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the original owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed—you have to repurchase them.
    4. Other issues
    a. If the original owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're irrevocably linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Mac App Store Customer Service has sometimes issued redemption codes for these apps to second owners who asked.
    b. If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.
    c. When trying to create a new iCloud account, you might get a failure message: "Account limit reached." Apple imposes a lifetime limit of three iCloud account setups per device. Erasing the device does not reset the limit. You can still use an iCloud account that was created on another device, but you won't be able to create a new one. Contact iCloud Support for more information. The setup limit doesn't apply to Apple ID accounts used for other services, such as the iTunes and Mac App Stores, or iMessage. You can create as many of those accounts as you like.

  • Release vs Debug: Bad Memory Access

    Hello everyone.
    For a school assignment I have to write a program that sorts bottles (inputed by the user) into three bins, and state the minimum amount of moves it takes. I've completed the program, that's not really the problem.
    There is a drop down menu up on the top left, and it gives me the option between 'Release' and 'Debug' (under Active Configuration). Now I don't quite understand the difference, but expected for the final copy it should be compiles with it set to Release. But that's just an assumption.
    The problem is, or maybe this is just a question, when I set it to Debug and build my program, it runs great. If I change this option to Release and run the program I get "EXCBADACCESS" and the program fails.
    My main worry is this might indicate a potential problem with compatibility on other platforms (maybe). I've compiled the program in Terminal with GCC and it works fine there as well. I will post my code below if it helps any. My hope is this is either a bug in xcode, or simply nothing to worry about.
    I've underlined the area XCode highlights when the error occurs. Thank you.
    #include <stdio.h>
    #include <stdlib.h>
    const char bottle_colour[][6]={"red","white","blue"};
    int main()
    int i,low,move[6],bottles[3][3];// bottles[bin][colour]
    for (i=0;i<3;i++)
    printf("Please enter the amount of %s bottles in each bin with a space inbetween each amount\n",bottle_colour);
    scanf("%i%i%i",&bottles[0],&bottles[1],&bottles[2]);
    printf("\n");
    move[3] += bottles[1][0] + bottles[2][0];// Moving all red bottles to bin 1
    move[3] += bottles[0][1] + bottles[2][1];// Moving all white bottles to bin 2
    move[3] += bottles[0][2] + bottles[1][2];// Moving all blue bottles to bin 3
    move[2] += bottles[1][0] + bottles[2][0];// Moving all red bottles to bin 1
    move[2] += bottles[0][1] + bottles[1][1];// Moving all white bottles to bin 3
    move[2] += bottles[0][2] + bottles[2][2];// Moving all blue bottles to bin 2
    move[5] += bottles[0][0] + bottles[2][0];// Moving all red bottles to bin 2
    move[5] += bottles[1][1] + bottles[2][1];// Moving all white bottles to bin 1
    move[5] += bottles[0][2] + bottles[1][2];// Moving all blue bottles to bin 3
    move[4] += bottles[0][0] + bottles[2][0];// Moving all red bottles to bin 2
    move[4] += bottles[0][1] + bottles[1][1];// Moving all white bottles to bin 3
    move[4] += bottles[1][2] + bottles[2][2];// Moving all blue bottles to bin 1
    move[1] += bottles[0][0] + bottles[1][0];// Moving all red bottles to bin 3
    move[1] += bottles[1][1] + bottles[2][1];// Moving all white bottles to bin 1
    move[1] += bottles[0][2] + bottles[2][2];// Moving all blue bottles to bin 2
    move[0] += bottles[0][0] + bottles[1][0];// Moving all red bottles to bin 3
    move[0] += bottles[0][1] + bottles[2][1];// Moving all white bottles to bin 2
    move[0] += bottles[1][2] + bottles[2][2];// Moving all blue bottles to bin 1
    for (i=0;i<5;i++)
    _if (move[i+1] < move && move[i+1] < move[low])_
    low = i + 1;
    printf("\nThe lowest amount of moves it would take is %i.",move[low]);

    Well, welcome to programming.
    The code as printed obviously isn't quite right due to formatting problems. There's a way to format it so it is displayed correctly but I don't know it off hand.
    If you use look at the build warnings you'll get a pretty good idea what is going on. In general there should be few or zero warnings in the build process. They're there for a reason. C provides a lot of rope.
    A few issues right away from the command line compiler:
    s.c:12: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘const char (*)[6]’
    s.c:13: warning: format ‘%i’ expects type ‘int *’, but argument 2 has type ‘int (*)[3]’
    s.c:13: warning: format ‘%i’ expects type ‘int *’, but argument 3 has type ‘int (*)[3]’
    s.c:13: warning: format ‘%i’ expects type ‘int *’, but argument 4 has type ‘int (*)[3]’
    I presume the following code
    if (movei+1 < move && movei+1 < movelow)
    low = i + 1;
    is
    if (move[i+1] < move && move[i+1] < move[low])
    low = i + 1;
    If so, I see the following warning:
    s.c:43: warning: comparison between pointer and integer
    Trust me, the issue is not portability at all nor a bug in Xcode. There are significant bugs in this code that just happen to compile.
    For instance, in line 12, the %s takes a pointer to a string yet a pointer to an array of strings has been provided.
    In line 13, the scanf %i operator requires a pointer to an integer yet a pointer to an array of pointers as been provided. You should have passed something such as &bottles[x][y] for each of those arguments.
    If you actually have 'move && move[i+1]' in the code, the code is comparing an address to an integer and I'm sure that's not intended.
    Lastly, 'low' is not initialized (those are difficult to find and the compiler does not warn of them even when using the -Wall flag). Probably should be set to zero. Different compilers and platforms vary on guarantees of a zero value.
    Since this is a project in school I will stop at this (and there are more issues in the code than I have stated).
    It'll all come in time. Good luck to you.

  • Copied objects are compiled with debug True

    I had an issue with copied packages/triggers/procedures that when they were copied showed up as compiled with debug status.
    My sql developer client has a default setting of compilng PL/SQL code with optimization level = 0 , while our database has a default = 2.
    When modifying this level and setting it to 0, the debug flag is turned on, although not specified in the sql developer client)
    preferences -> database -> PL/SQL -> Optimization Level = 2
    select * from v$parameter where name like 'plsql%' returns
    888         plsql_debug      1             FALSE    FALSE
    889         plsql_optimize_level     3             2             2 after setting the level to 0 the same query returns:
    888         plsql_debug      1             TRUE     TRUE
    889         plsql_optimize_level     3             0             0this compile with debug behavior is shown on oracle 10 and 11 databases.

    I also have sqldeveloper version 3.2.20.09 and look up the value for optimizer in the preferences menu via preferences -> database -> PL/SQL (just as in my first message)
    BTW I can still reproduce this issue (and 15 other dbas and developers at where I work) on both oracle 10 and 11.
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    "CORE     10.2.0.4.0     Production"
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    and
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE     11.2.0.2.0     Production"
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    BTW We've been using sqldeveloper here since version 2.x. We found a workaround by setting the value for Optimization Level to 2, although you might not reproduce the issue, I suggest to keep it for others, although it seems not many others experience this issue.

  • System freeze / GPU Debug Info Start

    *What happens:*
    Aperture keeps freezing my mac, I can move my mouse, but can't click anything. Keyboard doesn't seem to work at all. From time to time I get a beach ball instead of regular cursor. Nothing help, need to reset with a power button.
    *When it happens*
    When I work with RAW files around 20MB in size (don't know how about JPEG, don't have any). Nothing fancy, regular adjustments or when I send photos to flickr.
    Log
    Looking at console log I found something like this (started when everything stopped).
    +kernel ** Device in slot: SLOT--1 **+
    +kernel ** GPU Debug Info Start **+
    +kernel 0x0000944a+
    +kernel 0x000000cb+
    Often Aperture becomes very slow. Sometimes it starts using my hard drive heavily and doesn't seem to stop even if I quit (I suppose it's some Aperture's background process, Aperture itself isn't showing in process list once I quit). Has anyone experienced something like this?

    Did you find a solution?
    This seems to be an increasingly common problem.
    I have an ATI RAdeon HD 5670 doing the same lock-up while background processes continue. However I do not use Aperture and I am sure this is not limited to a specific software app.
    Perhaps this happens to be when your system is most stressed or all your RAM is full. It can happen to me when opening several web pages in a Mozilla browser such as Firefox.
    OK I'll look in more appropriate forums now...

  • IE9 Debugging With Debug Player 11.3 Fails locally

    Can someone give me the lowdown on why I can't debug my flash projects locally in IE9 ?
    The debug player 11.3 is sucessfully installed, the embed code is sound, the security settings are correct, no active x filtering, and content allowed in security settings. No sandbox issue etc.
    Does IE 9 not allow it ?
    I usually don't debug in IE9 but since I have it on my machine, Its worthwhile to know what is going on here so any info appreciated.
    I SHOULD SAY THAT OF COURSE ONLINE CONTENT WORKS JUST FINE. BUT FLASHBUILDER 4.6 CAN NOT CONNECT IN IE9 TO DEBUGGER. ALL OTHER BROWSERS WORK FINE
    WHY?

    Yes, works fine in chrome and in firefox with debug player just ie 9 doesnt.
    I can assure you I have the debug installed. Tested, and worked with flash some 8 years now so can verify that both with actionscript and by rightclicking >debug,
    But Flashbuilder will not connect locally to IE9

  • Xcode target names only 'release' and 'debug'

    Hi,
    We like to create more build targets in our project, at the moment we have the standard 'release' and 'debug'. For a new version we need targets like 'release 4.1' and 'release 5.0' now. I duplicated the target entry, but if I try to build a target with a name different from 'debug' or 'release', I got an error: "file not fount: @executable_path/WidgetBinLib.dylib". If I change the target name to 'release' or 'debug' it works.
    Any idea, how we can use the other target names? Any settings we must change?
    thanks
    Klaus

    I think is something wrong with  .fr.rsrc/.fr files of duplicated target, Make sure the new target doesn't have an included from source target.
    HTH,
    -Kamran

  • Release and Debug builds

    [LInux]
    I noticed that when I first start to create a project in Eclipse that it shows a small dialog box with to options checked, release & debug, and I make sure they are both checked. But when I would do a build it would do both executables debug (with debugging symbols) and release (without debugging symbols). I had to find a second options and I don't remember if it was in Properties or Preferences because I can't seem to find that option again.
    So what's the difference between the dialog box that shows up with both debug and release checked when you first start a project and the option that I found in properties or preferences for building both?
    Also, I can't find that option again in properties or preferences and also for whatever reason the dialog box with debug and release options has stopped coming up when I create a project. Any ideas? Thanks.
    One last thing. Is there a way to keep a group of projects under one tree in the Project Explorer? When I'm going through one, or several programming books at a time I don't want to stack 200 projects on top of each other in the project explorer. If I'm going through a particular programming book I'd like to keep all of it's projects in their own tree. Thanks again.

    Garrett Gaston wrote on Sat, 08 August 2015 12:27[LInux]
    I noticed that when I first start to create a project in Eclipse that it shows a small dialog box with to options checked, release & debug, and I make sure they are both checked. But when I would do a build it would do both executables debug (with debugging symbols) and release (without debugging symbols). I had to find a second options and I don't remember if it was in Properties or Preferences because I can't seem to find that option again.
    So what's the difference between the dialog box that shows up with both debug and release checked when you first start a project and the option that I found in properties or preferences for building both?
    Also, I can't find that option again in properties or preferences and also for whatever reason the dialog box with debug and release options has stopped coming up when I create a project. Any ideas? Thanks.
    When you create a new C++ project for an executable or a library, it always give you the option to edit the build configurations on the 2nd or 3rd window of the wizard.
    If you don't set it, you don't enable that specific configuation and it won't be built.
    To build only a single configuration at time, you should firstly set it through Project -> Build configurations -> Set active, and afterwards click on Projects -> Build project.
    I suspect the behaviour you are noticing occurs when you perform "Build all".
    Once a project is created, you can edit the configurations from Project properties -> C++ Build -> Manage configurations, it is a button on the right of the current configuration being selected.
    Quote:One last thing. Is there a way to keep a group of projects under one tree in the Project Explorer? When I'm going through one, or several programming books at a time I don't want to stack 200 projects on top of each other in the project explorer. If I'm going through a particular programming book I'd like to keep all of it's projects in their own tree. Thanks again.
    As you've already noticed, one way would be to organise them on working sets. This is what I am currently using right now, and personally I'm finding quite confusing to handle.
    However I've seen several people that just create a new workspace to organise a different set of related projects. You can switch a workspace from File -> Switch to workspace. Then if you want to check two projects in two different workspaces, you need to have two separate instances of Eclipse running, as far as I've understood.

  • 2011 13 MBP i5 ***debug info for apparent hang in main graphics engine ***

    *debug info for apparent hang in main graphics engine *
    console is giving me this message and it is affecting my MBP's ability to wake from sleep correctly. I get either a dark screen or scrambled graphics and have to hold the power button to re-boot.
    (I do have an external display hooked up to the MBP, this was never an issue with all my past Macbooks.)

    My 15" MBP 15 Core i7 has the same problem. Spoke with AppleCare and tried resetting to power management unit and the PRAM; no improvement. Also tried reinstalling the 10.6.7 'early 2011 macbook pro' update - still no change.
    Each attempt at waking from sleep produces a series of the same error messages in Console. Here's the full series:
    kernel WaitForStamp: Overflowed waiting for stamp 0x70ed on Main ring: called from
    kernel timestamp = 0x70eb
    kernel ** Debug info for apparent hang in Main graphics engine **
    kernel ring head = 0x00200eb4, wrap count = 0x 1
    kernel ring tail = 0x000010e0 ring control = 0x00003801 enabled, auto report disabled, waiting, semaphore not waiting, length = 0x004 4KB pages
    kernel timestamps = 0x70eb
    kernel Semaphore register values:
    kernel VRSYNC: (0x12044) = 0x70eb
    kernel BRSYNC: (0x22040) = 0x0
    kernel RVSYNC: (0x 2040) = 0x0
    kernel BVSYNC: (0x22044) = 0x0
    kernel RBSYNC: (0x 2044) = 0x0
    kernel VBSYNC: (0x12040) = 0x0
    kernel Looks like Main ring is stuck waiting on an event
    kernel After attempt to clear wait condition = 0x00003001 no longer waiting
    kernel kIPEHR: 0x2000000
    kernel kINSTDONE: 0x882fbb
    kernel kINSTDONE_1: 0x2308a3f
    Re-sleeping and re-waking the machine occasionally lets the screen come back on.
    The machine itself is running; I can ssh into it from another computer.
    I tried disabling hibernation, too (http://danwarne.com/how-to-turn-off-slow-sleep-hibernate-mode-on-a-macbook-pro/), with no change.
    Anyone with new information on the issue? Going to take it to the Apple Store, I suppose, once I have time...

Maybe you are looking for

  • How do i get rid of GMAIL from my blackberry

    hello all I have just brought a Pearl and like everyone else got my emails directed to my blackberry, i did this via the gmail site.  I am so fed up of getting spam emails that i just want emails off my blackberry pls pls pls help.  I have spent hour

  • Standalone application without labview ?

    Hi I am trying to build an .exe file using application builder in LabVIEW 7.0. Is it possible to build an application without labview dependency ? In short, I want something like an .exe file which will run on systems without labview. I know visual b

  • Report Progress on Web

    Any chance of the report progress screen being implemented in Webforms. Users love to see something is happening when they click on a run report button. If there isn't any urge for the cogs to be implemented in Webforms is there any way I can write a

  • From which table field could we find the 'material type' of delivery items.

    Hi, Please kindly advise from which table field could we find the 'material type' for one delivery items?? Thank you.

  • Default values in MM01

    Hello experts , I want to default a value  in MM01 transaction for the field   Volume Unit (ERVOE ) based on a particular material type Can any one tell me how can I do this ??  Is it possible to do with any exits/BADI/Customization ...!! I tried wit