How to debug ns-3 in pythonHow do I check whether a file exists without exceptions?Calling an external...
intersection of two sorted vectors in C++
Infinite Abelian subgroup of infinite non Abelian group example
Took a trip to a parallel universe, need help deciphering
How to show the equivalence between the regularized regression and their constraint formulas using KKT
Why are electrically insulating heatsinks so rare? Is it just cost?
In Romance of the Three Kingdoms why do people still use bamboo sticks when papers are already invented?
What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?
In a Spin are Both Wings Stalled?
Why is consensus so controversial in Britain?
Can one be a co-translator of a book, if he does not know the language that the book is translated into?
How can I tell someone that I want to be his or her friend?
Were any external disk drives stacked vertically?
Why does Kotter return in Welcome Back Kotter
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
What is the word for reserving something for yourself before others do?
Blender 2.8 I can't see vertices, edges or faces in edit mode
Brothers & sisters
Will google still index a page if I use a $_SESSION variable?
90's TV series where a boy goes to another dimension through portal near power lines
How can I make my BBEG immortal short of making them a Lich or Vampire?
Theorems that impeded progress
Is it canonical bit space?
prove that the matrix A is diagonalizable
What's the point of deactivating Num Lock on login screens?
How to debug ns-3 in python
How do I check whether a file exists without exceptions?Calling an external command in PythonWhat are metaclasses in Python?Finding the index of an item given a list containing it in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?How to get the current time in PythonHow can I make a time delay in Python?How do I debug Node.js applications?Does Python have a string 'contains' substring method?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
when I run a ns-3 simulation written in Python and something fails, I only see this message:
Command ['/usr/bin/python', 'path/to/file.py'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
But I can not see the actual error message.
I run the simulation with:
sudo ./waf --pyrun path/to/file.py
Could somebody tell me how to run the simulation to see the error message?
Thanks!
python debugging
migrated from superuser.com 3 hours ago
This question came from our site for computer enthusiasts and power users.
add a comment |
when I run a ns-3 simulation written in Python and something fails, I only see this message:
Command ['/usr/bin/python', 'path/to/file.py'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
But I can not see the actual error message.
I run the simulation with:
sudo ./waf --pyrun path/to/file.py
Could somebody tell me how to run the simulation to see the error message?
Thanks!
python debugging
migrated from superuser.com 3 hours ago
This question came from our site for computer enthusiasts and power users.
Have you tried doing what the error message suggests?
– ForceBru
3 hours ago
add a comment |
when I run a ns-3 simulation written in Python and something fails, I only see this message:
Command ['/usr/bin/python', 'path/to/file.py'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
But I can not see the actual error message.
I run the simulation with:
sudo ./waf --pyrun path/to/file.py
Could somebody tell me how to run the simulation to see the error message?
Thanks!
python debugging
when I run a ns-3 simulation written in Python and something fails, I only see this message:
Command ['/usr/bin/python', 'path/to/file.py'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
But I can not see the actual error message.
I run the simulation with:
sudo ./waf --pyrun path/to/file.py
Could somebody tell me how to run the simulation to see the error message?
Thanks!
python debugging
python debugging
asked 9 hours ago
ArneeArnee
366
366
migrated from superuser.com 3 hours ago
This question came from our site for computer enthusiasts and power users.
migrated from superuser.com 3 hours ago
This question came from our site for computer enthusiasts and power users.
Have you tried doing what the error message suggests?
– ForceBru
3 hours ago
add a comment |
Have you tried doing what the error message suggests?
– ForceBru
3 hours ago
Have you tried doing what the error message suggests?
– ForceBru
3 hours ago
Have you tried doing what the error message suggests?
– ForceBru
3 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55524523%2fhow-to-debug-ns-3-in-python%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55524523%2fhow-to-debug-ns-3-in-python%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you tried doing what the error message suggests?
– ForceBru
3 hours ago