AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX: Программирование
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 26.01.2023, 20:49   #1  
alicedr is offline
alicedr
Участник
 
173 / 43 (2) +++
Регистрация: 06.07.2012
Адрес: Канада
D365, Visual Studio 2019 + F$O extension = тормозит intellisense
В общем. каждый раз когда вводишь точку, двоеточие или скобку, студия уходит в себя секунд на сорок. В итоге, чтобы напечатать простейшую строку типа salesTable::find(custInvoiceJour.SalesId).deliveryAddress уходит как минимум две минуты. В процессах видно как процесс xppcAgent выедаетЄ до 60% ЦПУ.

Все попытки найти как отключить автоподстановку/интеллисенс для Х++ провалились. Есть куча инфы как это сделать для С++, но не для Х++.

Сравнение настроек с нормально работающей студией результата не принесло тоже. Системные параметры проблемной машинки такие же как нормально работающей. CPU Xeon E5-2675 v3 2.40GHz, 56GB RAM

Работать невозможно, мы готовы даже отключить интеллисенс, но не выходит...
.
Ниже инфоромация о версиях, может кому-то что-то бросится в глаза.


Microsoft Visual Studio Professional 2019
Version 16.11.16
VisualStudio.16.Release/16.11.16+32602.291
Microsoft .NET Framework
Version 4.7.03190

Installed Version: Professional

Visual C++ 2019 00435-60000-00000-AA038
Microsoft Visual C++ 2019

ASP.NET and Web Tools 2019 16.11.106.23128
ASP.NET and Web Tools 2019

ASP.NET Web Frameworks and Tools 2019 16.11.106.23128
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0 16.11.106.23128
Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools 16.11.106.23128
Azure Functions and Web Jobs Tools

C# Tools 3.11.0-4.22108.8+d9bef045c4362fbcab27ef35daec4e95c8ff47e1
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Extensibility Message Bus 1.2.6 (master@34d6af2)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

Finance and Operations (Dynamics 365) (Platform Update52) 7.0.6441.41
A collection of tools for Visual Studio that are used to develop applications on Finance and Operations (Dynamics 365)

Microsoft Azure Tools for Visual Studio 2.9
Support for Azure Cloud Services projects

Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.

Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft Library Manager 2.1.113+g422d40002e.RR
Install client-side libraries easily to any web project

Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio Tools for Containers 1.2
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio 16.10.15 (552afdf)
Support for debugging Mono processes with Visual Studio.

Node.js Tools 1.5.30526.3 Commit Hash:c09c81113bcbc86d57943fcdd67e82434263d61d
Adds support for developing and debugging Node.js apps in Visual Studio

NuGet Package Manager 5.11.2
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Office Developer Tools for Visual Studio 16.0.31424.03
Microsoft Office Developer Tools for Visual Studio

ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Razor (ASP.NET Core) 16.1.0.2122504+13c05c96ea6bdbe550bd88b0bf6cdddf8cde1725
Provides languages services for ASP.NET Core Razor.

SQL Server Data Tools 16.0.62205.05200
Microsoft SQL Server Data Tools

TypeScript Tools 16.0.30526.2002
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools 3.11.0-4.22108.8+d9bef045c4362fbcab27ef35daec4e95c8ff47e1
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 16.11.0-beta.21514.6+b6c2c4f53ea3a08fa603ea93d6d2f808a62a21d1
Microsoft Visual F# Tools

Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Container Tools Extensions 1.0
View, manage, and diagnose containers within Visual Studio.

Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers

VisualStudio.DeviceLog 1.0
Information about my package

VisualStudio.Foo 1.0
Information about my package

VisualStudio.Mac 1.0
Mac Extension for Visual Studio

Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin 16.11.000.197 (d16-11@6934992)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 16.11.0.47 (remotes/origin/d16-11@e0d612363)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 16.10.5 (355b57a)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.

Xamarin.Android SDK 12.0.0.3 (d16-11/f0e3c2d)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: c633fe9
Java.Interop: xamarin/java.interop/d16-11@476bb5b
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.35.4@85460d3
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-11@87af37b


Xamarin.iOS and Xamarin.Mac SDK 15.2.0.17 (738fde344)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
F$O extension
Старый 26.01.2023, 21:23   #2  
fed is offline
fed
Moderator
Аватар для fed
Ex AND Project
Соотечественники
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
2,890 / 5647 (194) ++++++++++
Регистрация: 13.03.2002
Адрес: Hüfingen,DE
Вообще есть рекомендация отключать в Visual Stidio Options CodeLens.
У меня правда VS2017 на машине и там даже с CodeLens так сильно не тормозило, но после того как я CodeLens отключил стало побыстрее работать. Anecdotal evidences говорят что именно в VS2019 CodeLens в сочетании с X++ особенно сильно тормозят.
Старый 26.01.2023, 21:57   #3  
alicedr is offline
alicedr
Участник
 
173 / 43 (2) +++
Регистрация: 06.07.2012
Адрес: Канада
Спасибо за идею, но к сожалению не помогло

Tools > Options > Text Editor > All Languages > CodeLens -> disable
Старый 26.01.2023, 23:18   #4  
Stitch_MS is offline
Stitch_MS
Участник
Аватар для Stitch_MS
Соотечественники
 
396 / 478 (16) +++++++
Регистрация: 27.02.2006
Адрес: Дания
А если закрыть VS, а потом открыть и продолжить редактирование с того же места, будет быстрее? Есть ли разница, если редактировать маленький или большой класс? Полную компиляцию всех моделей пробовали?
Старый 03.02.2023, 02:55   #5  
trud is offline
trud
Участник
Лучший по профессии 2017
 
1,038 / 1629 (57) ++++++++
Регистрация: 07.06.2003
Записей в блоге: 1
А в чем проблема переразвернуть VM? Вообще с появлением D8v5(с 15 дисками или SSD) и возможности выбирать модели для отладки ситуация со скоростью и стабильностью вроде улучшилась при чем без тюнингов.
За это сообщение автора поблагодарили: Logger (3).
Старый 08.02.2023, 20:35   #6  
pitersky is offline
pitersky
северный Будда
Аватар для pitersky
Ex AND Project
Соотечественники
 
1,486 / 408 (16) +++++++
Регистрация: 26.09.2007
Адрес: Солнечная система
Кстати да, у меня тоже такое наблюдалось в последнее время. Причём поначалу всё нормально работает, но потом в какой-то момент начинает дико тормозить...
__________________
С уважением,
Вячеслав
Старый 25.02.2023, 18:20   #7  
alicedr is offline
alicedr
Участник
 
173 / 43 (2) +++
Регистрация: 06.07.2012
Адрес: Канада
Цитата:
Сообщение от Stitch_MS Посмотреть сообщение
А если закрыть VS, а потом открыть и продолжить редактирование с того же места, будет быстрее? Есть ли разница, если редактировать маленький или большой класс? Полную компиляцию всех моделей пробовали?
Нет, от размера открытого файла и перезагрузки ВС зависимости не наблюдается. Полную компиляцию не могу, мой шеф работает на этой же энве и она ему нужна в случайные моменты времени.

Последнюю неделю ситуация вроде немного улучшилась - была ли тому причина в нескольких перегрузках энвы после моих экспериментов по отключению интеллисенса, или приехали какие-то обновления, но субъективно стало немного лучше.
Старый 11.03.2023, 00:34   #8  
vmoskalenko is offline
vmoskalenko
Участник
Аватар для vmoskalenko
 
145 / 334 (12) ++++++
Регистрация: 25.01.2007
Адрес: Toronto
Цитата:
Сообщение от Stitch_MS Посмотреть сообщение
Полную компиляцию всех моделей пробовали?
Вот что Microsoft говорит:
Цитата:
Gianugo Rabellino (HE/THEY) – November 9, 2022 at 02:08 PM
Build all considered harmful

TL;DR: if you can, avoid selecting all modules when doing a “Build all” operation.

We are seeing a few cases where debugging crashes rear their ugly head. As some of you may know, most debugging crashes are due to the 32 bit limitations of VS2019 and the sheer size of symbol files that we need to load in memory during debugging – as it approaches and then exceeds 2GB, the process deteriorates and eventually crashes.

We have mitigated this issue recently by distributing the F&O platform/app symbols as Portable PDBs which are much smaller in size. Building symbols in this format, however, requires specific build pipelines that we have not integrated in the Visual Studio tools yet: if you trigger a “Full build” from the F&O Extension "Build Models" dialog, the modules you select will use the old style build process and generate symbols using the generic and much bigger in size PDB format. Doing a full build for all models (including the Microsoft one) will therefore negate any memory saving and, in turn, cause crashes while debugging. Note that this does not affect regular VS builds (ctrl+b), just this specific build configuration for the FnO extension.

We of course intend to fix this issue, however we understand that this is an edge case as we believe there are very few reasons, if any, to trigger a complete rebuild so we are not quite considering it an urgent matter. To help us prioritize our work correctly, please let us know if this is something you need sooner rather than later and, if so, what are your scenarios that require full builds that include the core FnO code base.
https://www.yammer.com/dynamicsaxfee...97325640564736
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Sumit Potbhare: Retail Warehousing | Wrap up | Approach to D365 for Commerce with Adv WH Mgmt Blog bot DAX Blogs 0 28.04.2021 13:12
patrickmouwen: How to Unlock Many Hidden D365 Retail Features! Blog bot DAX Blogs 0 13.05.2020 22:13
patrickmouwen: D365 Retail APIs Part II: How to know exactly what happens inside D365 Retail Blog bot DAX Blogs 0 14.12.2019 01:17
ariste.info: Update to Visual Studio 2019 for #MSDyn365FO Blog bot DAX Blogs 0 24.07.2019 00:14
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 19:36.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.