简体   繁体   中英

Visual Studio debug window strips output

I'm using Visual Studio 2010 to develop a C# Application. It retrieves a Shoutcast Stream. It reads 256 Bytes in each loop-cycle and is supposed to write them to the debug-output. They are stripped badly.

Could this be due to some Unicode-signs? How can I make output-window-safe Strings which won't get stripped?

You haven't shown how you're writing them out, which makes it hard to know what's wrong.

If you're reading binary data, I would personally write that out in hex. BitConverter.ToString(byte[]) will do that very simply.

Do you mean it won't write them out ever, or just delayed? You can flush the stream to force it to write immediately.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM