Frustration with template debugging

Using:
Sun Studio IDE 7.4 2005/10/13
Sun Dbx Debugger 7.5 Patch 121023-01 2006/02/09
CC: Sun C++ 5.8 Patch 121017-02 2006/04/19
Problem:
Using Studio 11 debugger GUI, file in which template is defined is not opened when I step into a function belonging to the template.
For example, when I compile the test files below with "CC -g -o testMe testMe.cc", then attempt to step into the t.set(5), testMe.hh is not opened.
However, if I manually open the file, set a breakpoint in it, have the breakpoint triggered, then remove the breakpoint, I can step into the file from then on, even across sunstudio/dbx restarts.
Does anyone else have this problem?
Test files:
testMe.hh:
template <class Type>
class T
public:
        void set(const Type & copyMe) { myT = copyMe; }
        Type myT;
testMe.cc:
#include "testMe.hh"
int main(void)
        T<int> t;
        t.set(5);
        return 0;
}

Sun Studio IDE relies on a file extension to determine file's type and it doesn't open files as directed by the debugger if it doesn't know this file type.
Unfortunately, this is not user-configurable in current release, but fortunately .hh was added to recognizable extensions list and this fix is available in the following patches:
- 122142-01 for sparc
- 122143-01 for x86

Similar Messages

  • Frustrated with Mac Web Browsers

    I am so frustrated with Mac browsers. I'm starting a Cisco CCNA class. I start at this page to get to my Cisco Academy log on.
    http://cisco.netacad.net
    In the upper right hand corner is the logon prompt. When I enter the user id and password the screen refreshes to a blank window and at the bottom in the Safari status bar it shows "Done". No content is displayed. I tried it in Firefox, same thing happens. I have the debug option turned on in Safari and trying turning on the agent "Windows MSIE 6.0". Still nothing. I even rebooted and tried it. I can navigate all over the Cisco website but as soon as I try to log into the academy then nothing happens.
    I went to my old PC and with IE and Firefox I was able to get in OK. What is going on in OSX that is not allowing the page content to display? Or is it Cisco ?
    If I didn't have a PC I'd be in bind. You just can't switch 100%.
    Rant over.
    Thanks
    Kelvin
    iBook G4   Mac OS X (10.3.9)  
    iBook G4   Mac OS X (10.3.9)  
    iBook G4   Mac OS X (10.3.9)  

    I received an reply email from Cisco.
    "Kelvin,
    Thank you for contacting the Cisco Networking Academy Support regarding the minimum requirements.
    To use all the features of the Academy Connection site, Curricula, and Assessment Server on your desktop, laptop PC, or Macintosh, your system must meet the minimum site requirements. Please review the minimum site requirements listed below and update your system accordingly:
    Minimum and recommended hardware requirements for Macintosh:
    Minimum System -
    * OS 9.1
    * Power PC Processor
    * 64 MB Installed RAM
    * Netscape 7.0x and 7.1 (Only) (Java, JavaScript, and Style Sheets Enabled)
    * Flash 7.0 Plugin
    * 15" Monitor
    * 800 X 600 Resolution, 256 colors
    * 10 Base T Ethernet Card
    * Mouse, Speakers, Headphones, and Sound Card
    Recommended System -
    * OS X with OS 9 Classic Environment
    * Power PC G3 Processor or higher
    * 128 MB Installed RAM
    * Netscape 7.0x and 7.1 (Only) (Java, JavaScript, and Style Sheets Enabled)
    * Flash 7.0 Plugin
    * 17" Monitor
    * 1024 X 768 Resolution, High Color (16-Bit)
    * 10 Base T Ethernet Card
    * Mouse, Speakers, Headphones, and Sound Card
    For information regarding the minimum and recommended browser requirements, please read the information below:
    * If you are using Netscape, you need version 7.01 or 7.02
    * If you are using Microsoft Internet Explorer, you need version 5.5
    * Java, JavaScript, and Style Sheets must be enabled in your browser's preference settings
    * The Flash 7.0 plug-in must be installed. If you don't already have the latest version of the plug-in installed, you can download it at:
    http://www.macromedia.com/shockwave/download/download.cgi?P1Prod_Version=ShockwaveFlash&P5Language=English
    We are not formally supporting any browsers on any version of Linux or Unix; however, Mozilla should work as it uses the same engine as Netscape 7.x.
    Please let us know if you have any further questions, comments, or concerns.
    Thank you,"
    There was a link in the email to reply to their email. When I click on it I was presented the login prompt for the Cisco Network Academy. I entered my login information and lo and behold my academy page appeared showing my curriculm links etc. I click around and everything seemed to work fine. I tried it in Safari and Firefox. Cisco has code in their login from the main academy page that has unnecessary restrictions. The link they gave me by passes that code I guess. I replied to their email and offered to use my Mac browsers to run through the curriculm and online tests. Hopefully they will respond positively and not ignore my requests.
    Kelvin

  • If Apple is so full of geniuses, why can't they come up with a usb cable to connect the iPad to a printer? This would seem like the most intelligent first choice for those of us who are absolutely frustrated with iPad printing functionality.

    My sister has an iPad and an HP printer. She cant' print from her iPad even though a genius at the Apple Store sold the combination to her with the idea that it would be easy to do. Instead, I have to go to her place with my MacBook, she sends me an email, and I hook up my laptop to her printer to print what she needs. Why can't the Apple geniuses come up with a USB cable and an OS update to make it easy and NOT SO FRUSTRATING to print from the iPad?
    I've been a Mac user for fifteen years but I could not, in good conscience, recommend an iPad to anyone until Apple considers that ease of use does not include regularly getting frustrated with the easiest of tasks.

    all printers speak a diffrent "computer language" for a device to understand this language
    a driver is required
    some devices such a computers come with drivers for a long line of printers and other devices
    apple decided that it was better not to include that huge list of drivers as users would then not have
    much storage left for media and apps
    then apple let printer makers make apps for printing in app store and make printers support airprint

  • The newest version of iTunes is awful when it comes to Cloud syncing-file management. I'm constantly frustrated with what iTunes 'chooses to eliminate from my mobile device and settings aren't fine-grained enough to allow for real user control.

    I'm endlessly frustrated with iTunes Cloud syncing, something that was supposed to make lenjoying my music easier. I routinely find that, though itunes and podcasts have been split, iTunes arbitrairily removes music files or in progress podcast in favor of 'new' podcasts. The settings are just not fine-grained enough to allow true user control and so we are instead subjected to 'Apple knows best' protocols. I understand and appreciate the level of exacting control Apple excercises over their ecosystem, however, more and more often I see them tightening control over things that should be user control while dropping the ball on aesthetic desisions made in producing their own software (see the hideous pull down tab for iTunes to access Podcast, TV shows, Music, etc.
    I would like to see features like those in Mail and the Podcasting apps implemented in iTunes afor the management of content on mobile devices, for instance it would be great to swipe to delete files that you know longer want on your device, at both the album and song level. Another issues is the new pushiness of iRadio and iTunes Store, the app now seems to default to the iRadio page (versus the last page Albums, songs, etc. that the user was navigating, or in the instance of the iTunes Store push, if I doon't have all the tracks of an album i own on my mobile device 'complete my album' takes you to iTunes store rather than showing the 'cloud' download icon next to missing tracks. These are the tactics I expect from Google, not Apple (pushing commerce over quality user experience).
    Fix these things Apple, please.

  • How can I use PreloadSWF with files built with -compiler.debug into Flash Player 11.4?

    I'm using Internet Explorer 9 on Windows 7 (x64) with a debug Flash Player (version 11.3.300.271 - I'm using the ActiveX plugin for IE). Using Flex SDK 4.5.1.21328A I compiled the ActionScript code
        package MySample {
            import flash.display.Sprite;
            public class MyHook extends Sprite {
                public function MyHook(): void {
                    super();
    Into a `.swf` file by running the command
        mxmlc.exe -compiler.source-path=. -output=MyHook.swf -tools-locale=en -headless-server=true -static-link-runtime-shared-libraries -compiler.debug -- Sample\MyHook.as
    I then preload this by creating an mm.cfg file and adding an PreloadSwf entry referencing MyHook.swf; running all this in Flash Player 11.3.300.271 works fine; I can point my IE to some web page containing flash applets and my own SWF file is preloaded just nicely.
    However, the most recent Flash Player release on Windows (11.4.402.265) breaks this. After updating the player, any flash applet triggers error message boxes from Flash player saying "Verify Error #1014: Couldn't find spark.components.Application". Clicking the error away opens the same message box, but with a few different type names.
    The workaround I found was to remove the -compiler.debug switch from the mxmlc command line; doing so make things work with Flash Player 11.4 but alas trace() doesn't work anymore.
    Does anybody know how PreloadSWF can be used to preload debug SWF files into Flash Player 11.4?

    Ah, thanks for making me aware of that forum - I didn't know about it. I now reposted the question at http://forums.adobe.com/thread/1068071 - this thread can be closed as far as I'm concerned. Should I mark your answer as being the resolution to my question or the like?

  • Not rally a question, just wanted to share my absolute frustration with the update of iTunes...this is, without a shadow of a doubt THE WORST application i have EVER used, Mac or PC! And that's saying something with the amount of PC dross that's out there

    Not rally a question, just wanted to share my absolute frustration with the update of iTunes...this is, without a shadow of a doubt THE WORST application i have EVER used, Mac or PC! And that's saying something with the amount of PC dross that's out there...Apple...PLEASE update and give us back the old version of iTunes...

    Pull down View > Show Sidebar. This will give you back the same functionality of iTunes 10.x.x.

  • Word report with template

    Hello,
    i want to create a word report with template in my vi. I have made a word .dot with bookmarks and my customer should modify it. It look like this:
    Test number: [bookmark/Test number]
    User: [bookmark/User]
    Serial number: [bookmark/Serial number]
    Error: [bookmark/Error]
    Comment: [bookmark/Comment]
    Date: [bookmark/Date]
    Greetings XY
    How can I get this result?
    Test number: 12345
    User: XY
    Serial number: 1
    Error: No
    Comment: First
    Serial number: 2
    Error: Yes
    Comment: Second
    Serial number: 5
    Error: No
    Comment: Third
    Serial number: 9
    Error: Yes
    Comment: Fourth
    Date: 01.01.2006
    Greetings XY
    The data is in tables and strings. The beginning and end of the word report is quiet easy. The difficulty is the middle part it can be consist of different numbers of items.
    How can I made this?
    thankyou
    schwede

    That is ok, but if I do so the result would look like this:
    Test number: 12345
    User: XY
    Serial number: 1
    2
    5
    9
    Error: No
    Yes
    No
    Yes
    Comment: First
    Second
    Third
    Fourth
    Date: 01.01.2006
    Greetings XY
    Do You know what I mean?
    Message Edited by Schwede on 04-03-2006 12:22 AM

  • I've become increasingly frustrated with the ipad adobe app. I've subscribed to be able to convert my pdf files into word documents and it has yet to work I've paid for a service that does not work which in turn makes me a disgruntled customer to say the

    I've become increasingly frustrated with the ipad adobe app. I've subscribed to be able to convert my pdf files into word documents and it has yet to work I've paid for a service that does not work which in turn makes me a disgruntled customer to say the least very disappointed with such horrible service

    Which service did you subscribe to?  Adobe PDF Pack?
    Once I know the service that you subscribed to, I can move this post to the right forum so that you can get in touch with the folks who can assist you.

  • I'm frustrated with the bookmarks. I so long to be able to right click on any bookmark and choose to have them in alphabet order. Would also like for the little icons to go away. Never been able to figure out how to do this the MAC way. Help.

    I am frustrated with the Bookmarks. I want so much to be able to right click and alphabetize the list. It's been a year and I can get my mind around the process that's there. Also I'd love for those pesky little icons to disappear. Help me please.

    After the release of Firefox 29, several people noticed that after using the Customize feature, most items on the right-click menu for the Bookmarks menu on the menu bar became ''grayed out'' and unusable until you closed and started Firefox back up again. That seems to still be a problem for me in Firefox 36.0.4, so if you used Customize, that could be the explanation.
    You still should be able to click and drag bookmarks around the menu even with the broken right-click context menu.
    And if it's easier than restarting, the context menu still works in the Bookmarks Sidebar (Ctrl+b to open/close) and Library dialog (Ctrl+Shift+b or "Show All Bookmarks").

  • Frustrated with lack of help!

    I up graded my phone to an iphone 5c.  I received it yesterday and call the 800# to activate my phone.  During the phone call I was transferred to customer service because my phone was unable to activated.  I was on hold for 30 mins and the customer service rep told me there was nothing she could do manually I would have to call the 800#.  I did this 3 times, each time told the same thing!   Finally the 4th time I told the rep I needed to speak to a manager and he informed me the manager wasn't available and to call tech support.  So my 5th phone call to Verizon I spoke to a girl in tech support who was able to tell why my phone wasn't unable to be activated.  the SIM card that was preinstalled was never registered and I would have to go to a Verizon store to get one.  Here's my problem again, I leave in a rural western pa.  I called my local store and they told me I would have to buy a SIM card because they are not a corporate store!  The closets corporate store is 1 hour away.  I am so frustrated with verizons lack of system checks that I just want to send the phone back!!  I have never had this many problems with Verizon and I have been a customer for 15 years.

    Verizon can mail you a Sim for free. No travel time to a corporate store.
    http://www.apple.com
    In their community help forum the not being able to activate is listed there as well as the fix.
    Good Luck

  • HT4972 the apps weve downloaded are not working.  please help,  extremely frustrated with our ipod 4

    the apps we have downloaded are not working,  please help,  extremely frustrated with our ipod 4

    See my previous reply for for the apps closing.
    For the wifi problem:
    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect OK before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network       
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Very frustrated with the battery exchange program

    I'm very frustrated with the battery exchange program. I signed up online, double checked all my information, and submitted. No where on the page did it say that a signature would be required upon delivery. I work during the day, so I'm not home to receive shipments (any package I do receive is just left in the lobby, and it's always been fine--I live in a secure building).
    DHL is refusing to leave the package at the door. Apple refuses to tell DHL that it's ok to redirect the package to my place of employment. My only option, it seems, is to spend almost two hours of my time driving to the DHL location and back (the pickup location isn't even in the same county I live in).
    If anyone has any better ideas, I would love to hear it.
    Thanks,
    Andrea

    If your battery was stolen after it was delivered, I'd bet you'd really get upset. If DHL is anything like UPS, you can sign the receipt telling them to leave the package. Pretty simple.

  • Frustration with Safari

    Is anyone else totally frustrated with an inability to save or print PDFs using Safari 6.0.3?  I'm tired of opening a PDF in Safari to see if it's something I want to print, and then having to reopen the same PDF in Firefox or another browser to print it and to save it.  It's been like this now for several months.

    I think I finally solved my own problem.

  • Problem with templates in Dreamweaver...

    I'm using Dreamweaver 8 and here is my dilema... Originally I
    had my
    template named something different. I changed the name of the
    template and
    now my other pages that run off that template wont work
    because of this
    code...
    <html><!-- InstanceBegin
    template="/Templates/index2.dwt"
    codeOutsideHTMLIsLocked="false" -->
    <head>
    I obviously changed the name of the template so it is no
    longer index2.dwt.
    The problem is is that this code doesn't actually show up in
    the template
    itself it shows up in the pages that are using that template.
    I want to
    know how I go about changing this bit of code in all my pages
    that use the
    template without having to do it by hand. There must be an
    easy way?
    Thanks!
    Chris Jumonville

    Good luck!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Chris Jumonville" <[email protected]> wrote in
    message
    news:[email protected]...
    > Murray,
    >
    > Nope, I messed up. I accidently changed the name of the
    file without
    > doing it in Dreamweaver so that is my fault. Thanks for
    the useful
    > information about the find and replace feature. I didn't
    know it would be
    > able to do it in the template is the files were closed.
    I think I tried
    > it while they were open and that is why it didn't work.
    Easy fix and I
    > just took care of it! Thanks!
    >
    > -Chris
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >>> I did try remanimg the template from index2.dwt
    to my new template name
    >>> and for some reason Dreamweaver didn't handle
    the rest.
    >>
    >> Did you do this by selecting the file in the Files
    panel, and renaming it
    >> there? DW will handle the link management if you do
    that.
    >>
    >>> I didn't know if the find and replace feature
    would work since that code
    >>> in all the pages using the template is locked...
    >>
    >> If the file is closed, DW will change the code, even
    in locked regions.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Chris Jumonville" <[email protected]>
    wrote in message
    >> news:[email protected]...
    >>> Murray,
    >>>
    >>> I did try remanimg the template from index2.dwt
    to my new template name
    >>> and for some reason Dreamweaver didn't handle
    the rest. I use templates
    >>> alot so I think it may just have been a glitch
    and maybe I just needed
    >>> to close and restart dreamweaver because now
    it's working fine. I
    >>> didn't know if the find and replace feature
    would work since that code
    >>> in all the pages using the template is locked...
    >>>
    >>> -Chris
    >>>
    >>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>>> There must be an easy way?
    >>>>
    >>>> There are several ways to do this, but the
    easiest would be to close
    >>>> all files in DW, and then do a sitewide
    search to find
    >>>> "/Templates/<name>.dwt" and replace it
    with "/Templates/index2.dwt".
    >>>>
    >>>> You could also just rename (using the files
    panel) the template from
    >>>> "/Templates/index2.dwt" to
    "/Templates/<name>.dwt", and let DW handle
    >>>> the details.
    >>>>
    >>>>
    >>>> --
    >>>> Murray --- ICQ 71997575
    >>>> Adobe Community Expert
    >>>> (If you *MUST* email me, don't LAUGH when
    you do so!)
    >>>> ==================
    >>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>> ==================
    >>>>
    >>>>
    >>>> "Chris Jumonville"
    <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> I'm using Dreamweaver 8 and here is my
    dilema... Originally I had my
    >>>>> template named something different. I
    changed the name of the
    >>>>> template and now my other pages that run
    off that template wont work
    >>>>> because of this code...
    >>>>>
    >>>>> <html><!-- InstanceBegin
    template="/Templates/index2.dwt"
    >>>>> codeOutsideHTMLIsLocked="false" -->
    >>>>> <head>
    >>>>>
    >>>>> I obviously changed the name of the
    template so it is no longer
    >>>>> index2.dwt. The problem is is that this
    code doesn't actually show up
    >>>>> in the template itself it shows up in
    the pages that are using that
    >>>>> template. I want to know how I go about
    changing this bit of code in
    >>>>> all my pages that use the template
    without having to do it by hand.
    >>>>> There must be an easy way?
    >>>>>
    >>>>> Thanks!
    >>>>> Chris Jumonville
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • Frustrated with iCal 3--please fix the obvious bugs!

    I read that Apple actually looks at these posts, otherwise I would suffer in silence. So here goes...
    After adopting iCal for all of my calendar needs and being able to rely on version 2 to work, I upgraded to Leopard and iCal 3. Now, I am frustrated with obvious bugs and very worried about the integrity of my calendar data (which is EXTREMELY important).
    Some things that do not work or seem to work sporadically in iCal 3:
    1. Delete events/to-do's after n days. Nothing. And why is this option applied globally rather than to specific calendars?
    2. Publish calendars upon modification. Usually works; sometimes quits for no apparent reason.
    3. Reliable syncing (OK, maybe this is an iSync problem).
    Other frustrations:
    1. Very slow operation. Slow to create event, slow to edit event, slow to even change from month to month.
    2. Very slow or even crashes when I double-click on an event.
    3. I seem to need to double-click after I enter an event to fill in all the info I want.
    4. No easy way to archive (and restore) old events.
    Please, Apple, do not lose your focus on software excellence, as you pursue lucrative new markets! Your recent software releases (like iCal, iSync, AirDisk, TimeMachine, etc.) are beginning to remind me of, gasp, Microsoft. They almost work.
    Excuse me for venting on this forum.

    I have all of the same issues Jeff. What gives?? This needs immediate fix.

Maybe you are looking for

  • Relation between DB Collector and Archive Directory

    If archive directory could not be read, this would cause DB Collector error. Why so? And in what condition will cause the archive directory to be not readable? Thank you.

  • HT201516 can iphoto just disappear? Why does my computer show no photos?

    I Was trying to look at photos and iPhoto had just disappeared from my computer and seemingly so had my 30,0000 photos stored on my external hardrive.  I am running MacKeeper and seem to have started to recover them.  I tried to download iPhoto again

  • Sales office change in transaction

    Hello Experts, We have a transaction getting created in SAP CRM from external application. We want to change the Sales Office in that transaction in debug mode (as we can not edit the sales area data in the organization tab in the transaction) Could

  • 6300 chargers with C2-01?

    Will 6300 chargers (car and wall) work OK with a C2-01?  The plugs for my old 6300 and new C2-01 are the same, although one of the wall chargers for the 6300 puts out 5.5V whereas the charger that came with the C2-01 puts out 5.0V Solved! Go to Solut

  • Authorization sales documents varrying per transaction for same user.

    Dear Gurus, I have a query in defining the transaction authorizations for a user on the transaction level. Requirement is as follows. I want to give the transaction code VA01 to a user to create 2 sales orders say OR,  RE so while authorizing documen