Questions tagged [debugging]
Questions about debugging techniques, using the built-in debugger, and/or the Wolfram Workbench debugger.
206 questions
3
votes
2
answers
207
views
Using Trace with TraceDepth
Regarding TraceDepth with TraceDepth->3,it
seems that {{{fib[1]}}} is also 3 level deep, ...
0
votes
0
answers
59
views
Unexplained $Aborted in ParallelTable
I am trying to run the code:
ParallelTable[
FMwrapper[small[[i]]],
{i,20},
Method->"CoarsestGrained",
DistributedContexts->Full
]
...
0
votes
0
answers
122
views
How to display what Mathematica does during integral evaluation?
So I have an integral, and it computed with v14.1 under 12 seconds, and the answer is right.
Question - could I somehow print how evaluation is done, intermediate steps, decisions made etc
...
3
votes
2
answers
342
views
Discrepancy in Limit calculation: Sum of limit vs limit of sum
Update: From the following notebook files, one can check that this discrepancy is not there in mathematica 13.1, while it is there in 14.0.0. Bug in 14.0? Did it get resolved in the more recent ...
5
votes
1
answer
153
views
How to show stack trace when an error occurs in paclet code
I'm developing a paclet using an external editor (not workbench) to write the code
and mathematica notebooks to test the code.
When an error happens during the evaluation of some non-paclet code, for ...
2
votes
1
answer
126
views
Finding the static string profile by solving three differential equation
I am trying to reproduce a static string profile of this paper, for which I use this Mathematica code:
...
-1
votes
1
answer
156
views
General debugging and help [closed]
After running the attached code, I get quite a few errors, as seen in the attached screenshot. I would greatly appreciate any help!
...
1
vote
2
answers
178
views
Empty plot and no error given
By the advise of Jagra, I removed the first set of the code and leave the actual problem. I got a working script, but the plot is empty. I tried to run it in chrome and firefox, but to no difference.
...
8
votes
1
answer
353
views
VerificationTest leaks message?
It seems that in certain cases VerificationTest will leak the messages generated when testing.
For example,
...
0
votes
0
answers
83
views
Solve function not returning the same output when it should
I'm trying to obtain an equation describing the intersection points of an arbitrary hyperbola with an ellipse centered at the origin. If I restrict the hyperbola to not have any horizontal translation,...
0
votes
2
answers
131
views
Expand disagrees with original expression
I have a rather nasty double summation that I am doing. To check that whatever I do it is valid, I routinely substitute in numerical values. I also have checked the result of the double sum by doing a ...
3
votes
0
answers
212
views
Partial trace of a $n \times n$ square matrix
I would like to create a function to compute the partial of a general matrix.
I came across to the following code for a 4x4 matrix:
...
1
vote
1
answer
105
views
Troubleshooting NDSolveValue::rdelay Error in a Dengue Epidemic Model with Delay Differential Equations in Mathematica
I am modeling the vector dynamics of a dengue epidemic using a system of delay differential equations (DDEs) in Wolfram Mathematica. My model includes a complex interplay of host-vector interactions, ...
1
vote
0
answers
59
views
4
votes
2
answers
404
views
Is it possible in Mathematica to get a step-by-step evaluation of the following?
Is it possible in Mathematica (or WolframAlpha["...]") to get a step-by-step evaluation of the following?
...