Re: [fpc-pascal] FpDebug hands-on: AnsiStrings

2020-05-21 Thread Martin Frb
On 21/05/2020 17:29, Joost van der Sluis wrote: I've added codepage-support for ansistrings, compiled with -gw3. This is done in the TFpValueDwarfV3FreePascalString class, which does the heavy work regarding the formatting of strings. Although there is also some code in

Re: [fpc-pascal] FpDebug hands-on: AnsiStrings

2020-05-21 Thread Martin Frb
On 21/05/2020 20:19, Joost van der Sluis wrote: Might be, you could see this as a saveguard. But my goal is to cut-out the middle part of the string. That's formatting Well, we should have the safeguard. And make it configurable. ... See below Part 2 is formatting related  In most

Re: [fpc-pascal] FpDebug hands-on: AnsiStrings

2020-05-21 Thread Joost van der Sluis
Op 21-05-2020 om 18:25 schreef Martin Frb: On 21/05/2020 17:29, Joost van der Sluis wrote: But that the design is problematic can be seen in a comment in the file:   // TODO: X Dynamic max limit This is not really about formatting. A corrupt debug target, could return a string length of

[fpc-pascal] FpDebug hands-on: AnsiStrings

2020-05-21 Thread Joost van der Sluis
Op 20-05-2020 om 20:48 schreef Martin Frb: Ok, here are some of my ideas/hopes/dreams/wishes for the IDE They are all "ideas only", with on knowledge of when/if they may be done. Ok, clear. Thanks again for the info. I think we can conclude that most parts are there. It only needs some

Re: [fpc-pascal] FpDebug hands-on: AnsiStrings

2020-05-21 Thread Joost van der Sluis
Op 21-05-2020 om 17:29 schreef Joost van der Sluis: Op 20-05-2020 om 20:48 schreef Martin Frb: Ok, here are some of my ideas/hopes/dreams/wishes for the IDE They are all "ideas only", with on knowledge of when/if they may be done. Ok, clear. Thanks again for the info. I think we can

Re: [fpc-pascal] FpDebug hands-on: AnsiStrings

2020-05-21 Thread Joost van der Sluis
Excuses for the empty mail... Op 21-05-2020 om 17:29 schreef Joost van der Sluis: This seems an easy task, but it is not. TFpValueDwarfV3FreePascalString is not bound to the GUI or does not have formatting-settings. But it is the place where the formatting takes place! But adding a

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

2020-05-21 Thread Ryan Joseph via fpc-pascal
> On May 19, 2020, at 4:43 AM, Joost van der Sluis wrote: > > Hi all, > > As I wrote before I'm working on a fpDebug-extension for Visual Studio Code, > based on the DAB (Debug Adapter Protocol). Excellent, I applaud your efforts. I'm busy now but I'll be sure to test this later. I'm using