8 More Discussions You Might Find Interesting
1. OS X (Apple)
Hello, I was looking at kernel log's and found some parts what was "interesting"
I previously started looking what has been going on in my computer because I had hacker attacks on my machine.
Installed Avira & Little Snitch - softwares
Previously my computer opened few folders what I have... (1 Reply)
Discussion started by: Scourge-
1 Replies
2. Programming
How can we debug threaded application in Linux?
If we have some doubt on a thread then how to set the context of that thread and how to check the values of variables for that thread? (1 Reply)
Discussion started by: rupeshkp728
1 Replies
3. Shell Programming and Scripting
Can you help please ?
./get_df.sh: syntax error at line 13 : `then' unexpected
#!/bin/ksh
while :
do
PER=`df -h /DATA/ | nawk '{if (NR != 1) { sub (/%/,""); print $(NF-1)}}'`
if
then
if]
then
mailx -s "FS over 90 per" me@company.com
touch... (2 Replies)
Discussion started by: drbiloukos
2 Replies
4. Programming
Hi,
I want to debug Vim source code with GDB but I can't get it. It seems to run without debugger.
Here is my try. I have supressed output of most commands. Tell me if you need them.
$ uname -mor
2.6.37-ARCH i686 GNU/Linux
$ mkdir ~/birei && cd ~/birei
$ wget... (2 Replies)
Discussion started by: birei
2 Replies
5. Shell Programming and Scripting
Is there a way to see or print a sub code?
Sometime a sub could be already defined, but in the debug mode (so, interactively) it could be already out of screen.
So, I would think about a way to check if the sub is defined (just 'defined' is not a problem) and how it is defined.
Also, if... (4 Replies)
Discussion started by: alex_5161
4 Replies
6. OS X (Apple)
Hi,
In our program, we are using SIGTERM and i tired to put break point in this function. But my debuger is unable to brake at that point.
I am working on Mac X and using XCode.
Thanks (0 Replies)
Discussion started by: Saurabh78
0 Replies
7. Programming
Hi,
i' m using eclipse 3.2.2 on ubuntu. When i debug a program (C language) i cannot see any variable in the variables view. From the console (debug perspective) i can see the message: no source file named class.c. What is the problem???
thanks (1 Reply)
Discussion started by: littleboyblu
1 Replies
8. Programming
i am new to solaris
i have one module which contain certain header files and sub modules
i want ot execute the module and c what the values are beeing assigned to variables
is makefile only solution for this
is there any editor to help it,so that i can c the flow of the program and also... (1 Reply)
Discussion started by: ramneek
1 Replies
PAPI_set_debug(3) PAPI PAPI_set_debug(3)
NAME
PAPI_set_debug -
Set the current debug level for error output from PAPI.
SYNOPSIS
Detailed Description
C Prototype:
#include <papi.h>
int PAPI_set_debug( int level );
Parameters:
level one of the constants shown in the table below and defined in the papi.h header file.
The possible debug levels for debugging are shown below.
o PAPI_QUIET Do not print anything, just return the error code
o PAPI_VERB_ECONT Print error message and continue
o PAPI_VERB_ESTOP Print error message and exit
Return values:
PAPI_OK
PAPI_EINVAL The debug level is invalid.
The current debug level is used by both the internal error and debug message handler subroutines.
The debug handler is only used if the library was compiled with -DDEBUG.
The debug handler is called when there is an error upon a call to the PAPI API.
The error handler is always active and its behavior cannot be modified except for whether or not it prints anything.
The default PAPI debug handler prints out messages in the following form:
PAPI Error: Error Code code, symbol, description
If the error was caused from a system call and the return code is PAPI_ESYS, the message will have a colon space and the error string as
reported by strerror() appended to the end.
The PAPI error handler prints out messages in the following form:
PAPI Error: message.
Note:
This is the ONLY function that may be called BEFORE PAPI_library_init().
Example:
int ret;
ret = PAPI_set_debug(PAPI_VERB_ECONT);
if ( ret != PAPI_OK ) handle_error();
*
See Also:
PAPI_library_init
PAPI_get_opt
PAPI_set_opt
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_set_debug(3)