Re: [fpc-pascal] fpDebug extension for Visual Studio Code

2020-05-18 Thread Martin Frb

On 18/05/2020 23:43, Joost van der Sluis wrote:
All the basics should work, if someone could test it a bit that would 
be nice.


Threading-support is still very lacking, and how variables are 
presented is not really nice. I'll be working on that.


While this can be changed in PascalBuilder, there are some considerations.

Some of those may want to become configurable. So not sure yet.
More likely the formatting may want to depend an arguments passed to the 
functions.
In the Lazarus IDE currently representation of the values is entirely to 
the backend. And that is plain wrong. The IDE will have to have some 
influence on that.


I haven't yet given it much consideration. Just putting it out there for 
thought

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] fpDebug extension for Visual Studio Code

2020-05-18 Thread Joost van der Sluis

Hi all,

As I wrote before I'm working on a fpDebug-extension for Visual Studio 
Code, based on the DAB (Debug Adapter Protocol).


This protocol is also used by other editors.

I have a first version ready. It consists of the parts: the fpdserver 
which implements the DAB-protocal and the fpDebug plugin which is just a 
wrapper with some configuration-settings.


I'm a little bit amazed that the plugin has 10 install already, without 
ever noticing it. Or maybe these are just bots or something...


All the basics should work, if someone could test it a bit that would be 
nice.


Threading-support is still very lacking, and how variables are presented 
is not really nice. I'll be working on that.


And maybe someone can create an icon for it?

Here are the links:

FPDServer:
https://gitlab.freepascal.org/Joost/fpdserver

fpDebug plugin:
https://marketplace.visualstudio.com/items?itemName=CNOC.fpdebug

Regards,

Joost.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Bug 37080 -- StrToHostAddr accepts all Pascal number notations

2020-05-18 Thread Joost van der Sluis

Op 15-05-2020 om 12:48 schreef Michael Van Canneyt:

On Fri, 15 May 2020, Noel Duffy via fpc-pascal wrote:

As a consequence, StrToHostAddr will happily parse addresses like these:

0xa.3.4.5
9.$c.4.5
%.%11001110.30.4
&7.&5.30.4
12.+4.1.1


Fixed.


Ahh.. why.. 

An ip-address of 0xa.&5.%11001110.3 is just funny. 

Regards,

Joost.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal