Silverfrost Forums

Welcome to our forums

Debugger string length limit in VS plugin

1 May 2009 11:44 #4513

Hi,

This has has been around for a while. There is a limit on the number of characters you can see when watching strings in VS of around about 80 characters. This can be a bit of a pain - is there any way of getting around this (aside from adding code to print or log the string) ?

Cheers, Alan

2 May 2009 11:19 #4523

You can usually see the rest of the string by right clicking and choosing 'Memory dump at variable'. The window it brings up should show you all the string although you will have to know where it ends.

I will look at modifying sdbg to display more of the string.

5 May 2009 7:57 #4529

Visual Studio does not have a 'memory dump at variable' option (at least not that I can see) and unfortunately the ftn95 plugin crashes if you even try to open a memory window (I also reported this problem a while ago 😢 )

The ability to use the VS memory dump window would be very very nice - I would certainly trade a working memory dump window for an increase in supported string length!

Another suggestion would be to allow a substring to be specified within the watch window (the VS C++ debugger allows this), so writing something like 'mystring[50:100]' would work.

Alan

8 May 2009 10:49 #4541

How do you get to the memory dump window menu entry?

8 May 2009 2:17 #4545

You have to be debugging something, then it's under Debug->Windows->Memory. You have four to choose from.

9 May 2009 11:36 #4553

Which VS are you using? Those window types should be turned off when debugging Win32 apps -- because they don't work 😃

11 May 2009 8:27 #4558
  1. But the memory windows did exactly the same thing (and were accessible) in 2005.
Please login to reply.