LibreOffice Module comphelper (master)
1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
w
y
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
y
Variables
Typedefs
a
c
e
f
i
k
m
o
p
s
t
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
e
g
m
n
o
p
r
s
t
x
Typedefs
Enumerations
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
w
x
z
Functions
a
c
d
e
f
g
i
m
n
o
w
Variables
a
b
g
m
n
o
p
r
s
x
z
Typedefs
Enumerations
Macros
a
c
d
e
f
i
p
r
s
t
u
w
include
comphelper
debuggerinfo.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*/
9
10
#ifndef INCLUDED_COMPHELPER_DEBUGINFO_HXX
11
#define INCLUDED_COMPHELPER_DEBUGINFO_HXX
12
13
#include <
comphelper/comphelperdllapi.h
>
14
15
namespace
comphelper
16
{
17
#if defined DBG_UTIL
22
COMPHELPER_DLLPUBLIC
bool
isDebuggerAttached
();
23
#endif
24
25
// For detecting whether Valgrind is used, add valgrind to gb_Library_use_externals
26
// and then in code use:
27
// #if defined HAVE_VALGRIND_HEADERS
28
// #include <valgrind/memcheck.h>
29
// #endif
30
// ...
31
// #if defined HAVE_VALGRIND_HEADERS
32
// if( RUNNING_ON_VALGRIND )
33
34
}
// namespace comphelper
35
36
#endif
// INCLUDED_COMPHELPER_DEBUGINFO_HXX
37
38
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
comphelperdllapi.h
COMPHELPER_DLLPUBLIC
#define COMPHELPER_DLLPUBLIC
Definition:
comphelperdllapi.h:27
comphelper
comphelper::isDebuggerAttached
bool isDebuggerAttached()
Returns true if the process is running with a debugger attached.
Definition:
debuggerinfo.cxx:31
Generated on Sun Jul 30 2023 04:30:35 for LibreOffice Module comphelper (master) by
1.9.3