LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   vieing value of particular variable in sun studio (https://www.linuxquestions.org/questions/solaris-opensolaris-20/vieing-value-of-particular-variable-in-sun-studio-805632/)

ruud 05-03-2010 07:39 AM

vieing value of particular variable in sun studio
 
Hi,
When debugging through sun studio, i want to add watch of a variable which is out of scope od particular file, when i try to add variable to watch it gives error like
"Info" is not defined in the scope `qmsServer`qmsServer.cpp"

How to add varible in watch expression which is out of scope of file???

jlliagre 05-03-2010 07:56 AM

While in the debugger, run "help scope" and you'll got both an explanation and various workarounds.


All times are GMT -5. The time now is 12:50 PM.