this post was submitted on 21 Jul 2023
140 points (97.9% liked)

Linux

48648 readers
1171 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hello,

I installed Ubuntu a few months ago on my work laptop and I've been running and loving it since.

However, I am used to VsCode, so this is what I am using in Ubuntu as well.

So I am curious, what kind of coding so you do? And what is your workflow.

I am an embedded firware developper and mainly use C. I am cross compiling my code in VsCode for a FPGA from Xilinx (dual core arm + PL)

Never dove into make files and cmake more than what I needed in the past, but I had an opportunity to learn CMake and build a project from it.

So my workflow is :

  1. Code in VsCode
  2. Build in CMake
  3. Transfer the app through scp on the target with a custom script (target is running petalinux, which is yocto + Xilinx recipes)
  4. Use gdb server to debug the code.

It's a pretty simple workflow, but I'd like to know what you guys are running so that I can maybe upgrade my workflow.

you are viewing a single comment's thread
view the rest of the comments
[–] greywolf0x1@lemmy.ml 2 points 1 year ago (1 children)

I'm learning C# on my gnome Fedora and I can't use IlSpy to decompile code on VSCode. How do you do this?

Also, my debug time takes so long, I think microshit intentionally makes it so on linux

[–] garam@lemmy.my.id 3 points 1 year ago* (last edited 1 year ago) (1 children)

I never use IlSpy, sorry

Have you look into their cli? https://github.com/icsharpcode/ILSpy/tree/master/ICSharpCode.ILSpyCmd

Also there is AvaloniaUI ILSpy https://github.com/icsharpcode/AvaloniaILSpy https://github.com/icsharpcode/ILSpy/discussions/2926

Also seems not all dll can be opened using ilspy https://github.com/icsharpcode/ILSpy/issues/2689

Debug times shouldn't be long tbh hmm.. How big is your project?-

[–] greywolf0x1@lemmy.ml 1 points 1 year ago (1 children)

Thanks for the links. I'll look into the cli, I couldn't configure the Avalonia no matter how much I try.

I can't even call it a project, i'm just doing basic readline, writeline and loops stuff.

[–] garam@lemmy.my.id 1 points 1 year ago (1 children)

You can try to download the exe, and run it, but you need to have dotnet 6.0.2 LTS SDK in your machine... It should work as it's.

Anyway using CLI can dump the dll, I tried it yesterday to any csharp dll, it works, and create a project for it. I think with CLI, it's enough to see the whole .dll csharp files included.

[–] greywolf0x1@lemmy.ml 1 points 1 year ago

Thanks, i'll try out the cli.