Groups
Groups
Sign in
Groups
Groups
ns-3-users
Conversations
Labels
About
Send feedback
Help
Run and Debug in Vscode
2,049 views
Skip to first unread message
Arjun K
unread,
May 8, 2023, 1:27:34 AM
5/8/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
I couldnot able to run any file in debug mode as I have to see how objects are created step by step. console is terminating with following warning
&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"
[1] + Done "/usr/bin/gdb" --interpreter=mi --tty=${DbgTerm} 0<"/tmp/Microsoft-MIEngine-In-02wagnxm.kgs" 1>"/tmp/Microsoft-MIEngine-Out-h5h2zkvj.b0g"
I am attaching launch.json file as well
launch.json
Tommaso Pecorella
unread,
May 8, 2023, 4:01:35 AM
5/8/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
Typically this kind of errors are generated when gdb can't be launched for some reasons.
What happens if you try to debug a script from the console? (use ./ns3 run --gdb ...)
Arjun K
unread,
May 8, 2023, 12:27:17 PM
5/8/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
I can able to get debug terminal as follows but I wanna see object creation in Vscode run and debug section
Reading symbols from /home/netsim/Desktop/ns3/ns-3-allinone/ns-3.30/build/scratch/ns3-dev-wifi-eht-network-debug...
(gdb)
Message has been deleted
Arjun K
unread,
May 8, 2023, 1:52:57 PM
5/8/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ns-3-users
I have removed gdb and reinstalled again. It is working fine. Thank you!
Reply all
Reply to author
Forward
0 new messages