Newbie question: how to know current namespace in dbx debugging environment

Good afternoon,
I have an application, running on a Solaris 5.8.
This application gives errors because of namespace issues, therefore I would like to check the namespace I am working in while debugging with dbx, but I don't find the command for this.
Does anybody know which command to launch within a dbx environment for displaying the current namespace?
Thanks
Dominique

(dbx) help -k namespace
scopes (command)
(dbx) scopes
Function PSeudoClass::plain_function()
namespace PSeudoClass
File "ambig.cc"
Loadobject /export/home/test/c++/namespace/a.out

Similar Messages

  • Newbie question: How to create a namespace and record filedate-retrieve

    Spanking new to Namespaces
    Looking for a way to place a .jpg as a smart object, then using Namespace, record the filedate of the .jpg
    Then, have the layer sense if the original .jpg is newer and change the color of the layer.
    Running into complications trying to do this with .jsx scripting alone.
    Reason: This way, if the .jpg has been updated on the file server, the artist will be able to easily see that.
    Don't want to add a panel and more work for the artist. Rather, have it all happen behind the scenes.

    Here is how I create a new namespace in the layer metadata for my panel
    // new namespace. Even though it looks like a web url it's not. It just needs to be unique.
    const ns= 'http://www.smartobjectlinks.com/1.0/';
    function setSOLinkMetadata( property, value ){
         if( activeDocument.activeLayer.isBackgroundLayer || !loadXMPLibrary()){
              alert( ErrStrs.CONVERT );
         } else {
              var xmp;
              if (value == "")
                   value = " ";     
              try{
                   xmp = new XMPMeta( activeDocument.activeLayer.xmpMetadata.rawData );
              } catch(e) {// no metadata so create new and add namespace
                   xmp = new XMPMeta();
                   var linkNS = new Namespace ( 'link', ns );
                   XMPMeta.registerNamespace ( linkNS, 'SOlink' );
              try{
                   xmp.setProperty(ns, property, value );
              } catch(e) {
                   alert( ErrStrs.FAILEDMETADATA + e);
              activeDocument.activeLayer.xmpMetadata.rawData = xmp.serialize();
         unloadXMPLibrary();
    If the file being linked has metadata you can use the ModifyDate in the XMP.
    function getfileDate( file ){
         var date = new String();
         try{
              loadXMPLibrary();
              var xmpf = new XMPFile( file.fsName, XMPConst.UNKNOWN,
                                       XMPConst.OPEN_FOR_READ );
              var xmp = xmpf.getXMP();
              xmpf.closeFile();
              date = new XMPDateTime( xmp.getProperty
                                  (XMPConst.NS_XMP, "ModifyDate").toString() );
         }catch(e){// fallback to OS file date
              date = new XMPDateTime ( file.created );
         date = date.toString();
         unloadXMPLibrary();
         return date;
    The hard part will be getting the layer to 'sense' when the original has been changed. If you don't want the user to trigger the test you will have to use an event like open.

  • Newbie question: how to show current time as default value in textfield?

    hi.
    i wanna have a textfield that shows the current systemtime in the format
    DD-MON-YY
    i tried to do it as a pl/sql statement in the default value but it tells me
    ORA-06550: line 1, column 27: PLS-00103: Encountered the symbol "BEGIN" when expecting one of the following: ( - + case mod new not null avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe
    thanks for help! :)

    Joshua,
    Specify a default value of:
    to_char(sysdate,'DD-MON-YY')
    and a Default Value Type of PL/SQL Expression.
    Joel

  • How I know my answer to the security question, How I know my answer to the security question

    How I know my answer to the security question, How I know my answer to the security question

    Click here for information. If you can't reset them through the method described in that article or by sending yourself a rescue email(the email may take a few hours to arrive), contact the iTunes Store staff via the link in the 'Additional Information' section.
    It isn't possible to create a rescue email address without correctly answering two of the questions. Nobody on these boards can reset them for you.
    (94895)

  • How to know current bandwidth to be able to increase or decrease reserved streaming units ?

    Hi,
    how to know egress bandwidth by Azure Api to be able to increase reserved streaming unit if bandwidth reaches over 80%. Currently it is set to 1, but should be able to increase it when bandwidth is more than 160 mpbs(80% of available bandwidth which is 200mbps) 
    Thanks for your feedback in advance.

    Hi Sandhya,
    For now you can use Azure portal dashboard to check "Streaming Data Out". The chart will give you 30 minute aggregated values.
    Thanks,
    Cenk
    

  • Newbie Question:  How much computer do I need?

    Newbie Question:
    I would like to use MainStage 3 in a live performance environment to play bars, parties, etc.  I'm not looping, using it to playback recordings, processing outboard equipment or vocal processing.  I want to stop carrying Rolands, Nords, Korgs, etc and get to a controller and a rack with a Mac Mini in it.
    I tested a download of Mainstage 3 on my home Mac Mini (late 2012, 3.5 Ghz i5, 4GB RAM, 500GB drive) and it seemed to run fairly well.  $30 well invested so I trekked forward... I purchased a Mac Mini (late 2009,  2.52GHz Core 2 Duo, 6GB RAM, 128GB SSD) for $200.  I started to do more elaborate keyboard setups to see how the CPU would hold up.  It typically runs from 30% to 50% of capacity (CPU and Memory)  It actually boots and runs better than the i5.  I hear the occasion gitch, but it actually seems to be getting better in time (or I'm rock and roll deaf.
    I got a rack, an Airport Express, a Radial USB interface and a Nektar Panorama P6.  It's starting to get expensive, but I'm emboldened by the actual quality for the sound and the flexibility of arranging for live performance.  What used to take me two and three keyboards to play, I can now fit on one performance patch.
    OK, now the question... am I at the limits of this little Core 2 Duo?  Should I upgrade the i5 with more RAM and a bigger SSD and use that?  Should I get a new(er) i7 and bite the $1,500 bullet for the additional RAM and SSD?
    I see that most of you are running pretty nice Macbook Pros with i7 and lots of everything.  My needs are modest; am I OK? 
    BTW, I want to run a Mac Mini in a box because I don't want to carry a laptop out in the open.  If I was doing bigger shows I wouldn't care but I play some rowdy bars and constantly have folks hanging off me while I'm playing.  It's fun, but hard on gear.  If you can't drop it or dip it in beer, it won't last long where I work.
    Matt Donnelly

    Rule of thumb: newer and faster is better. But, depending the complexity of your needs you may be OK with an older Mac. Some glitches that happen in a live performance are due to loss of communication with USB or Firewire inputs, so make sure they're secure. I recently upgraded from a 2010 Mac Mini 2.6 dual core with 16 GB RAM, which was used live for nearly four years, to the latest Mac Mini 3.0 i7 with 16 GB RAM and a 500 GB SSD. I was getting an occasional stuck note with the older one. The new one is rock solid. Some of my patches may have up to a dozen channel strips mapped to three keyboards. The Mini is mounted in a rack next to a MOTU Ultralite Hybrid. It is a good idea to map a panic button on your keyboard to controller # 123(all notes off). Also, you might want to invest in a battery backup power supply(APC, Cyberpower, etc.-$40-$60) to protect your Mac against power loss, which can damage you hard drive.

  • How to know current speed of connection in Kbps?

    Does anyone know how to know the speed of network/internet connection? I couldn't find any member method of JAVA's class that returns this value. Very appreciate for all your hints.

    Try something like this:public class Test
      public static void main(String[] argv)
        try
          URL url = new URL("http://java.sun.com"); /* put a pointer to some big image here */
          InputStream is = url.openConnection().getInputStream();
          int bytes = 0;
          long ms = System.currentTimeMillis();
          while(is.read() != -1) bytes++;
          ms = System.currentTimeMillis() - ms;
          double kbps = ((double)bytes / ((double)ms / 1000)) / 1024;
          System.out.println("kbps = " + (long)kbps);
          System.exit(0);
        catch(Throwable t)
          t.printStackTrace();
          System.exit(-1);
    }I suggest you repeat this test for several pointers and take the average...

  • Newbie question: how to monitor cluster disk drive free space

    ok folks, it is a really painful process for me to use SCOM2007R2 and I figure it might be easier if I start to ask concrete questions.
    1. I have a cluster server and I know some drives have only 10MB and they are not changing at all as I fixed them.  How can I use Monitor/Rules so that I could receive Alert?  I was told by our admin that SCOM only got triggered if status got changed
    In my case, since the drive space will never get changed (fixed to 10MB left), I will never receive alert???
    cheers
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    "Logical disk free space" is the monitor that will be monitoring this.
    Yes, SCOM will send alerts only when the Mbytes and % values of the free space ; mentioned in the monitor are met. You can configure this monitor by setting up correct Mbytes and % values   to change the state of this monitor and thereafter you
    will receive the alerts from this monitor.
    Hope this helps.
    Thanks, S K Agrawal

  • Newbie Question: How to organize program with lots of components

    Hi,
    After struggling through the basics of Swing programming, I've finally got my application to look like what I want. Now I have to deal with all the inputs and variables (which is the hard part ^_^).
    I wonder how people usually organize numerous components and action listeners? I have a lot of fields that have to be synchronized frequently with a hardware device, and they are also adjustable by a number of menus.
    Currently I've just stuffed all the listeners and actions as inner classes in my main display frame. I am hoping to create a separate class that can manage all these actions, or a more elegant way to organize my program.
    For now I'm reading up on MVC (Model View Controller). Is that a good place to start? Or how about XML?
    I know this isn't a very specific question, but I'd appreciate a push in the right direction ^_^
    Thanks!
    Cindy

    I would look at MVC and its part - Observer pattern.
    Denis Krukovsky
    http://dotuseful.sourceforge.net/
    http://dkrukovsky.blogspot.com/

  • Newbie question:  How does one interrupt a running instance?

    For example, suppose a 'process order' instance is waiting on a human approve an order, but prior to this task being processed, the customer cancels the order.

    Hi,
    As you said..
    "Once control comes back to your process anyway you can terminate the process if order has been cancelled...."
    My question is :
    how the process comes to know that order has been cancelled as after processing one scope, flow will move to execute next activity.
    How can the process get input for the cancelled order while running the flow for current order say create or mod?
    Do we need to handle it in the flow depending upon the message type of the input file using cases? If so, then also how the process flow will come to know second message type (say cancelorder) while processing is taking place based on prior selected message type.
    Please suggest....
    Thanks

  • Newbie question:  How do I set the input for a series of audio recordings to be different, if I only have a 2 channel interface?

    I am using a 2 channel interface (Apogee Duet) and I can record a voice and guitar track fine.  My question is how do I record a third audio track after the fact?  It seems when I attempt to record an additional track, say bass for example, Logic treats it as though it is on input 1 or 2 (which hardware wise it is of course) and merges them in a sense.   I don't know how to make it a seperate independant track, despite the fact that it was recorded through an input that I also used to record something else on a diferent track.
    Thanks in advance, I very much appreciate any help.

    Thanks for the response.  I know it sounds ridiculously basic.  Yes I am creating a new track and selecting it.  The third track appears in the arrange window, but changes to, for example, the third track affect the 1st.  Doesn't matter if it's a 1/4 inch guitar or XLR mic.  Yes I'm listening to the headphone output from the Duet.
    I think the fundamental problem is my not understanding something about mono/stereo, or prehaps input and output settings.  I just can't seem to find the appropriate controls/settings.

  • Newbie Question: How to find Forms/Reports Server Version

    Hello,
    Is there a way to easily find out what is the patchset installed for the Forms and Reports Server. I know that presently using AS 9i rel1 and Forms 6i, but how do you find out more information on the installed patches on Windows? thanks

    Please see these threads.
    how to find the developer version
    Re: how to find the developer version
    Report Builder version
    Re: Report Builder version
    Form patch set level
    Re: Form patch set level.
    Always search the forum before posting similar questions.
    Thanks,
    Hussein

  • Newbie question: how do I create a bokeh effect in PSE 8?

    I am having trouble getting a blurred background effect in a portrait.  Could someone please tell me how to do it. I've attached the example I am working on.  All I want to do is to blur down the bricks behind the man's head, but I cannot seem to do it by creating a duplicate layer and then using the blur filter. Thanks for any help you can give.

    The steps you describe are correct, so it sounds like a problem with the program. Is this a new problem or has it always been that way? Do you have this problem with other Blur tools or other Filters, or just the Gaussian Blur?  You might want to post another forum topic titled "problem with Gaussian Blur"; more users are likely to read and respond to it.
    You might try resetting the preferences file. This often corrects PSE problems which pop up for no apparant reason. I don't know if this works in PSE8, but there is how to do it in previous versions: Press and hold Option-Command-Shift immediately while starting PSE. The timing is critical; you may have to try this several times. A dialog box will pop up with the question "Delete the Adobe Photoshop Elements Settings file?" (or similar message depending on the PSE version).  Click  YES.
    Here are 2 sites which address the corrupted preferences file:
    http://www.northlite.net/ps/prefs.htm
    http://www.photokaboom.com/photography/learn/Photoshop_Elements/troubleshooting/1_troubles hooting.htm#Preference

  • Newbi Question:  How does one create a similar page to this using APEX 3.1?

    Hi,
    I am trying to create a help document with screen shoots inside our APEX web application and I am hamstrung by the type of Region and Item objects available to me. When I tried to create HTML region I was limited to how much html characters I can put in the source. When I look into the item menu nothing seems to allow me to stick in large chunk of HTML code either.
    A little searching on this forum and I came across this page: http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm#t
    It is exactly the type of page I want to create with lots of text and screen shots and I presume that it is built within APEX? So my questions is: How did they do this? Did they use tools available within APEX or some external tool? Was all this outputted using BLOB and Htp("") and PL/SQL? I am trying hard to avoid having to do that.
    I was also unable to stick in an in image into my page using instruction from http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/ui.htm#CBBHGJCH which left me pretty frustrated. (external amazon gif worked).
    Thanks for any help,
    Wayne

    Wayne,
    I am glad that you got images to display. I am not sure what kind of html report you want to display, there is a limit of number of characters in a region its 32767 characters, so if you want to display large html file you can create html region with no template and limit each region to 30,000 characters and create as many region as you want.
    If you want to display data from any table ( as per the first url) you can create SQL reports, something like
    select ename
         , deptno
         , sal
         , case
              when ename = 'SCOTT' then '<img src="#WORKSPACE_IMAGES#us_flag.gif" alt="Image Title">'
              when ename = 'SMITH'  then '<img src="#WORKSPACE_IMAGES#chants.gif" alt="Image Title">'
              when ename = 'MARTIN' then '<img src="#WORKSPACE_IMAGES#cloche.gif" alt="Image Title">'
              when ename = 'MILLER' then '<img src="#WORKSPACE_IMAGES#chandelles.gif" alt="Image Title">'
              when ename = 'JONES' then  '<img src="#WORKSPACE_IMAGES#shoe.gif" alt="Image Title">'
              else '<img src="#WORKSPACE_IMAGES#hallo.gif" alt="Image Title">'
         end  image
    from empThanks,
    Manish

  • A newb question - How do I get iTunes to stop DELETING things from my iPod?

    I just got my PC back up and running, went to use my brand new iPod that was loaded with music/movie/podcasts from my laptop, I install iTunes on the PC, get everything set to my account and then take a look at my iPod only to find EVERYTHING has just been deleted.
    So far I hate iTunes and I truly hate the fact that I cannot just drag and drop files onto my iPod.
    Is there a way to lock files so they do not get deleted? Now all the stuff I have purchased cannot be downloaded again, another stupid idea. Once I pay for something I should be able to download it to the same iPod as often as I need.
    What truly ***** is I am a technogeek and have been an IT person for a long time, just when I think I understand how this software works, BAM it deletes all the files on my iPod.
    Is there any other decent software out there that I can use besides iTunes?
    I think you get the idea, I am frustrated and I know it is something simple that I am missing or overlooking. I guess I have to go buy iTunes for Dummies huh
    Any help or information that anyone can offer would be wonderful.
    Thanks,
    John W
    Custom   Windows XP Pro   First Gen iMac

    thanks
    I will still look for a different program.
    The other programs (like Anapod) are all Windows Explorer based and thus only work decently on very small music collections (e.g., less than 500 tracks or so). If you have a substantial collection, these schemes quickly become more trouble than they are worth because you must track everything manually or indirectly.
    My library is medium sized at 17,500 tracks (still under 75GB, just barely) and I could never manage it without a database like iTunes. If I had a large collection this advice would go double.

Maybe you are looking for