简体   繁体   English

如何在 Dynamics AX 中关闭 AOT 编译?

[英]How to turn off AOT compile in Dynamics AX?

How can I temporary turn off AOT compile dynamics AX?如何临时关闭 AOT 编译动态 AX? In my dev environment.在我的开发环境中。 I can add temporary code in order to jump the compile.我可以添加临时代码以跳转编译。

I'm here to ask a trick like to jump Synch, dbSynchronize method, I want to jump the compile too.我来请教一个技巧,比如跳转Synch,dbSynchronize方法,我也想跳转compile。

I would like to switch off the AOT compile (F7)我想关闭 AOT 编译 (F7)

在此处输入图像描述

For example, if I import an xpo, I do not want to auto start the compile or skip it in to code.例如,如果我导入一个 xpo,我不想自动启动编译或将其跳过到代码中。

Thanks谢谢

The code is located in \Classes\SysImportElements\import .该代码位于\Classes\SysImportElements\import中。 I don't think you can disable the compile because it's calling a kernel function in infolog .我认为您不能禁用编译,因为它在 infolog 中调用 kernel infolog Put a breakpoint in there and import an XPO to see.在那里放一个断点并导入一个 XPO 来查看。

You can try commenting out infolog.endImport(...) , but I'd be weary of that.您可以尝试注释掉infolog.endImport(...) ,但我会对此感到厌倦。

If your need is to disable because you're importing multiple XPO's, you should instead use the Combine XPO tool.如果由于要导入多个 XPO 而需要禁用,则应改为使用组合 XPO 工具。 https://docs.microsoft.com/en-us/dynamicsax-2012/developer/combine-xpo-tool-user-guide https://docs.microsoft.com/en-us/dynamicsax-2012/developer/combine-xpo-tool-user-guide

If you want to disable the F7 key, use a paperclip and you should be able to pop it off your keyboard.如果您想禁用F7键,请使用回形针,您应该可以将其从键盘上弹出。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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