Sponsored Content
Full Discussion: Debugging functions
Top Forums Shell Programming and Scripting Debugging functions Post 302819423 by BrandonD on Monday 10th of June 2013 09:21:46 PM
Old 06-10-2013
I suppose it would be wise to call it, but in some scripts that I've seen do call the function. That's probably where I picked up that practice from. Is there any behavioral difference if a function is called or not?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Regarding Debugging

Hi, If we want to debug a shell script, then set -vx has to be included in the begining of the script. Just i want to know what purpose -vx is used. Thanks in advace Sarwan (2 Replies)
Discussion started by: sarwan
2 Replies

2. Programming

Semaphore debugging

I'm running one multithreaded application, in that one of my thread is waiting infinitely in a semphore. Is there a way to determine, in which semaphore the particular thread is waiting and which thread(s) is holding the semaphore. (5 Replies)
Discussion started by: ptprabu
5 Replies

3. Shell Programming and Scripting

debugging a script??

Hi all, Am working on a script to understand the flow control of it.. Since i am from a C background i looking out for an easy way to analyze the script as it runs .. In C/C++ we have F7 that starts execution from main() and proceeds accordingly.. I was wondering if there is a same approach... (2 Replies)
Discussion started by: wrapster
2 Replies

4. Solaris

debugging

when I tried to debug my application i got the following. gdb -v GNU gdb 6.6 file is in C and Xmotiff Languages (gdb) attach 25499 Attaching to process 25499 Retry #1: Retry #2: Retry #3: Retry #4: 0xfea40b68 in ?? () (gdb) where #0 0xfea40b68 in ?? () (0 Replies)
Discussion started by: satish@123
0 Replies

5. Shell Programming and Scripting

script debugging

is there any way you can add a breakpoint in a script so you can stop on it? i have used -xv in my shebang but the script just runs and i want it to stop at a specific point in the script. appreciate any help. (1 Reply)
Discussion started by: npatwardhan
1 Replies

6. Shell Programming and Scripting

Fixer Debugging

hi all, would you please help me correcting and debugging this script: fx-permiss.sh which accepts a list of users as argument resiting those files permissions: say our directory structure: /home/erzal/file /home/erzal/dire /home/erzal/share /home/erzal/share/file /home/erzal/share/dire 1-... (1 Reply)
Discussion started by: erzal
1 Replies

7. Homework & Coursework Questions

Fixer Debugging

School:Syrian Virtual University - Bachelor in Information Technology - Tutor: A.Issa - course: S10-iti320 hi all, would you please help me correcting and debugging this script: fx-permiss.sh which accepts a list of users as argument resiting those files permissions: say our directory... (0 Replies)
Discussion started by: erzal
0 Replies

8. UNIX for Dummies Questions & Answers

blcr debugging

hey, can any one please tell me how can i debug blcr?? actually i have checkpointd a client using blcr and i want to check out what actually happens when we checkpoint any program. so i want to see what happen when we type $cr_checkpoint pid i mean i want to debug when i enter this... (0 Replies)
Discussion started by: pratibha
0 Replies

9. Programming

c++ debugging

hey i have a problem with a switch case in program and the debugger is messy has hell ( we use normal VI and gdb in our schoool to make it more diffiacult) any way i have a problom where for some unknown reason the debugger just skips a switch statment as if it wasent even there the rest... (2 Replies)
Discussion started by: gotenxds
2 Replies

10. Shell Programming and Scripting

How to execute functions or initiate functions as command line parameters for below requirement?

I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line if then... (8 Replies)
Discussion started by: saku
8 Replies
SoPickedPointList(3)						       Coin						      SoPickedPointList(3)

NAME
SoPickedPointList - The SoPickedPointList class is a container for pointers to SoPickedPoint objects. This list class will delete the picked points when destructed/truncated, or when a picked point in the list is replaced by another picked point The caller is responsible for allocating the picked points passed to the list, but should not deallocate them since this will be handled by the list. SYNOPSIS
#include <Inventor/lists/SoPickedPointList.h> Inherits SbPList. Public Member Functions SoPickedPointList (void) SoPickedPointList (const int sizehint) SoPickedPointList (const SoPickedPointList &l) void append (SoPickedPoint *pp) void insert (SoPickedPoint *pp, const int insertbefore) SoPickedPoint * operator[] (const int idx) const void truncate (const int start, const int fit=0) void set (const int idx, SoPickedPoint *pp) Additional Inherited Members Detailed Description The SoPickedPointList class is a container for pointers to SoPickedPoint objects. This list class will delete the picked points when destructed/truncated, or when a picked point in the list is replaced by another picked point The caller is responsible for allocating the picked points passed to the list, but should not deallocate them since this will be handled by the list. See also: SbPList Constructor &; Destructor Documentation SoPickedPointList::SoPickedPointList (void) [inline] Default constructor. SoPickedPointList::SoPickedPointList (const intsizehint) [inline] This constructor initializes the internal allocated size for the list to sizehint. Note that the list will still initially contain zero items. See also: SbList::SbList(const int sizehint) SoPickedPointList::SoPickedPointList (const SoPickedPointList &l) Copy constructor. Will copy picked points, not just pointers. See also: SbList::SbList(const SbList<Type> & l) Member Function Documentation SoPickedPoint * SoPickedPointList::operator[] (const intidx) const [inline] Returns element at idx. Will automatically expand the size of the internal array if idx is outside the current bounds of the list. The values of any additional pointers are then set to NULL. Reimplemented from SbPList. void SoPickedPointList::truncate (const intstart, const intfit = 0) Overridden to delete truncated items. Reimplemented from SbPList. void SoPickedPointList::set (const intidx, SoPickedPoint *pp) Overridden to destruct the replaced item. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoPickedPointList(3)
All times are GMT -4. The time now is 04:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy