简体   繁体   中英

Debugger and Intellitrace show truncated text in text viewer for long SqlCommand.CommandText

I'm trying to find out what the text is of a select statement made against SQL Server using Entity Framework. The CommandText property under both IntelliTrace and the debugger truncate the text to exactly 4096 characters in the text view. Is there a way to see all of it or to configure these tools to at least raise the limit?

Update: This still occurs as part of the VS 2015 Diagnostic Tools.

I ran into this same limitation.

I started using the MS-SQL profiler to see the entire command text. There are other profilers and NuGet packages to be able to see the entire command.

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