Is debugging possible?

Report all good and bad behavior here
Post Reply
scorpadorp
Posts: 8
Joined: Fri Feb 21, 2020 11:31 pm
Security question 1: No
Security question 2: 7

Is debugging possible?

Post by scorpadorp » Tue Jun 08, 2021 5:45 am

Since there is no programmer's manual, is there any way to load the source into a project for VS code (for linux)? I would like to know it's possible to do any kind of code debugging using an IDE.

Thanks.

Ana Jambrina
Posts: 683
Joined: Tue May 26, 2020 5:32 pm
Security question 1: No
Security question 2: 7

Re: Is debugging possible?

Post by Ana Jambrina » Tue Jun 08, 2021 11:08 am

Setting Serpent source as part of an IDE (e.g. Visual Studio) project should not be a problem. Just follow the(specific) guidelines of the code to set up the GUI debugger.
- Ana

scorpadorp
Posts: 8
Joined: Fri Feb 21, 2020 11:31 pm
Security question 1: No
Security question 2: 7

Re: Is debugging possible?

Post by scorpadorp » Tue Jun 08, 2021 3:12 pm

Thanks, Ana.

Are you saying it's also possible to run it on a Windows system using VS? My plan was to use VS code (slightly different IDE) on a linux virtual machine.

Ana Jambrina
Posts: 683
Joined: Tue May 26, 2020 5:32 pm
Security question 1: No
Security question 2: 7

Re: Is debugging possible?

Post by Ana Jambrina » Tue Jun 08, 2021 3:28 pm

You could run Serpent on Windows using a Virtual Machine setting up a Linux/Unix environment or a Linux-/Unix-like interface, e.g. Cygwin (although, in the latter case, you would find less support if any issue arises).
- Ana

Antti Rintala
Posts: 85
Joined: Tue Jul 03, 2012 1:25 pm
Security question 1: No
Security question 2: 92

Re: Is debugging possible?

Post by Antti Rintala » Wed Jun 09, 2021 7:29 am

Running Serpent natively on Windows (e.g. Visual Studio) will require some manual labor for finding suitable replacements for some libraries or functions found on Linux machines. Therefore it will be easier to perform the debugging with an IDE on a Linux.

Post Reply