Displaying 20 results from an estimated 50 matches for "undebugged".
Did you mean:
debugged
2018 Apr 28
3
debugonce() functions are not considered as debugged
debugonce() sets a different flag (RSTEP), and this is not queried by
isdebugged(), and it is also not unset by undebug().
Is this expected? If yes, is there a way to query and unset the RSTEP flag
from R code?
? f <- function() { }
? debugonce(f)
? isdebugged(f)
[1] FALSE
? undebug(f)
Warning message:
In undebug(f) : argument is not being debugged
? f()
debugging in: f()
debug at #1: {
}
2018 May 22
2
debugonce() functions are not considered as debugged
On Mon, May 21, 2018 at 5:01 PM Tomas Kalibera <tomas.kalibera at gmail.com>
wrote:
[...]
> Do you have a good use case when it would be useful to query/unset the
> mark for debugonce?
Well, I suppose the same use cases when it is useful to query/unset the
other debug
mark.
To be more specific, in debug helpers for a tool that works with callbacks
from a central event loop, it is
2001 Oct 09
2
list of functions flagged with debug() or trace()
Hello all,
Since I got no answer to my first mail, I suspect I did not formulate my
question adequately, so I try again.
In R, one can debug or trace a function 'foo' with debug(foo) or trace(foo),
respectively. This leads to a special treatment of the function 'foo' until
one enter undebug(foo) or untrace(foo). I would like to know if there is a
convenient way to know at any
2018 May 23
0
debugonce() functions are not considered as debugged
On 05/22/2018 06:07 PM, G?bor Cs?rdi wrote:
> On Mon, May 21, 2018 at 5:01 PM Tomas Kalibera <tomas.kalibera at gmail.com>
> wrote:
> [...]
>> Do you have a good use case when it would be useful to query/unset the
>> mark for debugonce?
> Well, I suppose the same use cases when it is useful to query/unset the
> other debug
> mark.
I asked because the use cases
2018 May 21
0
debugonce() functions are not considered as debugged
debug(fun) marks "fun" for debugging, it makes sure that whenever "fun"
is called, the debugger is entered
undebug(fun) removes this mark; it won't stop any current debugging of
that function
isdebugged(fun) tells whether this mark is set or not; it does not tell
whether "fun" is currently running in a debugger/browser
debugonce(func) adds a different mark to
2017 Oct 04
3
Question: Should we consider valid a variable defined #ifndef NDEBUG scope and used in assert?
Hi,
While audit our code, we found out a strange pattern in one of the LLVM headers and we were wondering if that was expected or if it should be fixed.
Namely the problem looks like this:
#ifndef NDEBUG
// Define some variable.
#endif
assert(/*use this variable, i.e., outside of the ifndef NDEBUG scope*/);
This happens in include/llvm/IR/ValueHandle.h for the variable Poisoned line 494
2017 Feb 17
6
Turn on SIP debugging from DialPlan
I have some troublesome numbers that I would like to capture the SIP
dialogue when I am calling them. When I am about to dial the number, is
there any way to turn on SIP debugging in the dial plan before I make the
call? (and turn it off after the call is completed?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Jun 03
2
[LLVMdev] CMake build maturity
Frits van Bommel <fvbommel at wxs.nl> writes:
> Paul Melis wrote:
>> Just checked: yup, there's plenty of assert()'s in the headers, so
>> -D_DEBUG will keep those alive.
>>
>> Interestingly, when configuring with --enable-optimized and
>> --disable-assertions the resulting compilation calls itself a
>> "Release-Asserts build" while
2009 Jun 04
0
[LLVMdev] CMake build maturity
Hi,
> Committed a change for the cmake build that implements the option
> LLVM_ENABLE_ASSERTS. Defaults to ON if and only if CMAKE_BUILD_TYPE is
> Release.
Thanks! I think it might be nice to make this a bit more consistent
with Makefile.config. I'd suggest...
- use LLVM_DISABLE_ASSERTIONS instead of LLVM_ENABLE_ASSERTS
- have it default to OFF (so assertions are enabled) always
-
2009 Jun 04
2
[LLVMdev] CMake build maturity
Jay Foad <jay.foad at gmail.com> writes:
>> Committed a change for the cmake build that implements the option
>> LLVM_ENABLE_ASSERTS. Defaults to ON if and only if CMAKE_BUILD_TYPE is
>> Release.
>
> Thanks! I think it might be nice to make this a bit more consistent
> with Makefile.config. I'd suggest...
>
> - use LLVM_DISABLE_ASSERTIONS instead of
2016 Oct 21
4
llvm build failed on Fedora 24
Hi,
I'm try to build llvm on my PC but it failed. I'm using following command,
$ cmake -G "Ninja" ../llvm -DCMAKE_INSTALL_PREFIX=prefix=$INSTALL_PATH
-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=On
$ ninja-build -j 2
I have skipped libcxx and libcxxabi package.
It shows below error,
00:04:23 [3261/3430] Building CXX object
2018 Aug 29
3
Get full cmake lines and prepocessed source for a GCC bug report
Hi,
for filing a GCC v8.2.0 bug in Debian/buster AMD64 the Debian/GCC
mainatiners want two things...
[ FULL CMAKE LINE ]
How do I configure this in the LLVM/Clang build?
Can I set an option of cmake?
[ PREPROCESSED SOURCE FILES ]
How and where do I get the preprocessed source?
Do I need to set options for this in my build-script?
My build-script is attached.
Thanks in advance.
Regards,
-
2018 Aug 27
2
LLVM/Clang version 7.0.0rc2 fails with gcc (Debian 8.2.0-4)
Hi,
I have not sent yet any bug-reports to llvm-dev but I am seeing this
build-failure:
...
[574/3685] Building CXX object
lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
FAILED: lib/Bitcode/Reader/CMakeFiles/LLVMBitReader.dir/MetadataLoader.cpp.o
/usr/bin/g++-8 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
2017 Oct 04
2
Question: Should we consider valid a variable defined #ifndef NDEBUG scope and used in assert?
Good point, I forgot to check the standard.
Given the clang was failing I assumed the code was wrong x).
I am guessing there is something weird with the project, because indeed, paragraph 7.2 of the standard says:
The assert macro is redefined according to the current state of NDEBUG each time that
<assert.h> is included.
> On Oct 4, 2017, at 2:53 PM, Craig Topper <craig.topper at
2018 Aug 29
2
LLVM/Clang version 7.0.0rc2 fails with gcc (Debian 8.2.0-4)
On Wed, Aug 29, 2018 at 9:29 AM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
> On Wed, Aug 29, 2018 at 7:51 AM, Matthias Klose <doko at debian.org> wrote:
>> On 28.08.2018 13:55, Sedat Dilek wrote:
>>> On Tue, Aug 28, 2018 at 10:59 AM, Hans Wennborg <hans at chromium.org> wrote:
>>>> On Tue, Aug 28, 2018 at 10:26 AM, Sedat Dilek via llvm-dev
2018 Aug 29
3
Get full cmake lines and prepocessed source for a GCC bug report
On Wed, Aug 29, 2018 at 10:14 AM, Hans Wennborg <hans at chromium.org> wrote:
> On Wed, Aug 29, 2018 at 9:45 AM, Sedat Dilek via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Hi,
>>
>> for filing a GCC v8.2.0 bug in Debian/buster AMD64 the Debian/GCC
>> mainatiners want two things...
>>
>> [ FULL CMAKE LINE ]
>>
>> How do I
2002 Jun 28
1
browser/debug and for loop
Dear R-Users,
It seems like once one invokes browser() inside a loop and steps through the
body using 'n' any subsequent loop will be "intercepted" by debug()
function. Here is exactly what I mean
# fresh R session
# run a loop that has browser() inside the body
> for (i in seq(5)) { browser(); print(i) }
for (i in seq(5)) { browser(); print(i) }
Called from: NULL
2007 May 11
1
can't use Sweave in a function?
Hi List,
Please see the following simple example which illustrate the problem. I'm
using R-2.5.0 in WinXP and
R2HTML 1.58.
Thanks,
....Tao
#============="test.rnw" =================
<html>
<body>
<div>
<h1 align=center>Report</h1>
<p>
<<echo=FALSE,results=html>>=
print(y)
print("\n")
print(paste("(",
2018 Aug 29
2
LLVM/Clang version 7.0.0rc2 fails with gcc (Debian 8.2.0-4)
On 28.08.2018 13:55, Sedat Dilek wrote:
> On Tue, Aug 28, 2018 at 10:59 AM, Hans Wennborg <hans at chromium.org> wrote:
>> On Tue, Aug 28, 2018 at 10:26 AM, Sedat Dilek via llvm-dev
>> <llvm-dev at lists.llvm.org> wrote:
>>> On Mon, Aug 27, 2018 at 6:09 PM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
>>>> Hi,
>>>>
>>>>
2019 May 26
2
rbind has confusing result for custom sub-class (possible bug?)
Debugging this issue:
https://github.com/Rdatatable/data.table/issues/2008
We have custom class 'IDate' which inherits from 'Date' (it just forces
integer storage for efficiency, hence, I).
The concatenation done by rbind, however, breaks this and returns a double:
library(data.table)
DF = data.frame(date = as.IDate(Sys.Date()))
storage.mode(rbind(DF, DF)$date)
# [1]