x++


How can you get a detailed error descriptions in Dynamics AX?


When doing many different (obviously) wrong things in A++ syntax I only get "Syntax error" in Description and some number (Err:9999) in Diagnostic ID. This does not help me at all finding out whats wrong so I can fix it. No hint, no nothing!
This is compile time syntax errors that the IDE should just hand to me.
So how can I get more detailed information about what is wrong?
There is no way of showing more information that this "Syntax error" for that error type. Almost always is a missing semicolon or brackets dispaired.
When you doubleclick on a syntax error line in the compiler output window, the code editor window opens and displays the code with the syntax error. The part of the code with the error is marked with a red squiggly underline and the cursor is placed at the start of the syntax error. This should make it easy to find out what is wrong.
In addition to what j.a.estevan suggested, in my experience syntax errors also occur because
you forget the second = symbol in the where part of a select statement
you unintentionally add a second = symbol when assigning the value of a variable
you delete a variable in the classDeclaration of a class/form, but it is still used in one of the methods
a macro is changed/deleted
an object is changed/deleted and the cross references were not up to date or not checked

Related Links

What is the _isMexican boolean for in the Global::Checkpower method?
AlwaysOnTop property not behaving properly
Boolean AND logic in Microsoft Dynamics AX 2012 AIF QueryCriteria
Table: PrintMgmtSettings Field: Printjobsettings(Blob)
What happened to the hrplimittablerelationship table in ax-2012-r2?
Why is my changes ignored to releaseupdate scripts in dynamics ax 2012 r2
What is “old sys” exactly and why would I receive errors in 2012 because of a missing Macro?
How to filter records in line grid based on selected record in header grid?
Dynamic linking gets cleared when inserting new records
Box::info showing “refreshEx”
How to filter lookup values on a dialogfield in Report Dialog based on another dialogfield in AX 2012 AOT reports?
Adding scrollbar to a Group in AX 2012 form
Table query inconsistent
AX2012 Sales Order Creation through AX Classes
How can I loop over Tables which contain specific characters in their AOT name and delete the data?
Having button that runs code, but doesn't submit data to (or validates against) table

Categories

HOME
url-redirection
gridview
paraview
checkstyle
string
css3
youtube-data-api-v3
mysql-workbench
requirements
error-handling
sublimetext
grafana
alarm
hugo
gembox-spreadsheet
jetty
polling
octave
openpyxl
ipmitool
radgridview
scrolltop
magnetic-cards
cumulocity
qsqlquery
video-editing
symfony-console
selinux
google-maps-autocomplete
ag
guzzle
ksh
roslyn
joptionpane
expressionengine3
windows-server-2003
gpio
bulletphysics
bioinformatics
magento-1.8
custom-controls
event-flow
left-join
laravel-eloquent
github3.py
nested-lists
latitude-longitude
openerp-7
linq-to-objects
bindingnavigator
apache-directory
ovf
lampp
automapper-5
podscms
video-conferencing
avx
bbpress
pocketsphinx-android
angular2-testing
custom-lists
mongodb-php
jboss-tools
wso2developerstudio
jclouds
nservicebus5
angular-ui-typeahead
ikiwiki
thread-sleep
realsense
kendo-upload
cycle2
asyncdisplaykit
maybe
vhosts
terracotta
cgi-bin
rpart
jsvc
fits
mass-assignment
reflector
memset
mutual-authentication
android-framework
android-audiorecord
gtm-oauth2
tlf
octal
android-loadermanager
frameworkelementfactory
boost-msm
wcf-configuration
faye
boost-signals
landscape-portrait
photolibrary
updatesourcetrigger
silent
scrollbars
cfwindow
fail-fast-fail-early
idatareader

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App