0

Linux debugging

Hi I am new to linux and have learnt basic commands with a bit of hands on exercise... I got online sandbox to practice I am keen to learn debugging of c++ code with Linux, but cannot and don't want to set up entire environment. Is there any direct online platform to do so ? Many thanks in advance.

30th Jan 2021, 7:36 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
7 odpowiedzi
+ 5
Yes there're certain online compilers available which provide linux shell commands that can be used for practice and to gain good hands over those commands. This is what I found but I prefer to use vm cause it would give a whole exposure. https://itsfoss.com/online-linux-terminals/
31st Jan 2021, 4:22 AM
Aditya
Aditya - avatar
+ 3
I didn't get..if you want to run your code using linux command line then sandbox may prove useless. On the other hand if you want to run your code by sandbox or any other virtual environment then command line becomes useless cause the virtual environment itself has it's own terminal if present so. Please clarify your question
30th Jan 2021, 12:00 PM
Aditya
Aditya - avatar
+ 2
Which operating system do you use right now ?
30th Jan 2021, 7:41 AM
Arsenic
Arsenic - avatar
+ 1
Then why don't you use windows terminal ?
30th Jan 2021, 10:42 AM
Arsenic
Arsenic - avatar
+ 1
My question is I don't have os other than windows..... I practiced linux basic commands on sandbox Now people say that linux code debugging is not straight forward... I want to learn the same... How can I learn it ? Is there a way to do so without having linux OS ?
30th Jan 2021, 10:44 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 1
setting up your own environment is a big part of understanding how to debug on Linux. It would be counter productive to neglect this aspect. If you have Win10, you can use WSL (Windows-Subsystem for Linux) as an easy way to get a Linux system.
31st Jan 2021, 10:22 PM
R3dSt0ne
R3dSt0ne - avatar
0
Windows
30th Jan 2021, 9:46 AM
Ketan Lalcheta
Ketan Lalcheta - avatar