Debugging : Need Help...!

hedaya
Member Posts: 11
Folks,
I am kind of newbie to the Navision world...and I would appreciate if somebody could answer my Questions...
1. I am trying to add the column names to the Watch List...and it gives me an error "Error Symbol "column" was not found"...
any idea on how to see the value of the column (of Record variable) in the watch list?
2. How to use the "OUTPUT" window efficiently...do we have to write code on the C/ AL to output the values or we can write any scripts on the fly...during the step/step debugging mode...
Thanks,
Hed.
I am kind of newbie to the Navision world...and I would appreciate if somebody could answer my Questions...
1. I am trying to add the column names to the Watch List...and it gives me an error "Error Symbol "column" was not found"...
any idea on how to see the value of the column (of Record variable) in the watch list?
2. How to use the "OUTPUT" window efficiently...do we have to write code on the C/ AL to output the values or we can write any scripts on the fly...during the step/step debugging mode...
Thanks,
Hed.
0
Comments
-
Hello Hedaya,
When you activate debugger, you can add record variable to watch list window by drag record variable(e.g customer table) from "variables window" to "watch list window" so know you can start debugging by click F5 or F8. After finishing your debugger,maybe you forget to delete the record variable you dragged before so when you activate the debugger again you will see the error said : "Error Symbol "column" was not found"...
Actually, I never use output window for debugging,maybe somebody else can explain it.
Regards,
Angelo0 -
Hi hedaya,
One more thing always try to use messages in ur code when debugging and replace the variable value by %1 or %2 etc etc.. depending on the no. of variables value u want to see .This gives u a idea also whats ur cod eis doing .
Cheers,
Tarun0 -
I think that output window is rest from Axapta... the debugger was taken from there... :-)0
-
Thanks Folks,
Appreciated it.
Hed.0 -
-
Hi,
.. also you can get this error if the variable is out of context e.g. local variable
Another hint is to hover the cursor over the variable and the tooltip will show the variable content for non-complex variables0 -
the output window will only display something like "Break On Error" (or so).
originally it should display there some error messages, but this was never solved in NAV. so the Output window will only shown if a error is comming .....
And in the w1w1adg.pdf is somethings written like "The Output Window Displays information related to the debugging process" But it shown only the "Break" messageDo you make it right, it works too!0 -
DaveT wrote:Hi,
.. also you can get this error if the variable is out of context e.g. local variable
Another hint is to hover the cursor over the variable and the tooltip will show the variable content for non-complex variables
(note that this topic is 3years old, while my post is today)
I knew these tricks, and i like to add a new one that ara3n posted in nav t&t some time ago: double click something in the call stack to see what was the last instruction executed (e.g. a function call)
Other tricks i often use in the debugger:
- double click a variable in the code and drag&drop it in the watch list
- for tables, it could be hard to find a field (e.g. in a journal): in order to do this, i drag and drop a random field from my table zoom and i manually edit table.zoom.randomfield to table.zoom.wantedfield (remember the double quotes with field names with dots and so on)
there's also a bookmark feature with ctrl+f2, maybe, but i've never used it
P.S.: what error are you talking about dave?0 -
Hi Belias,
Didn't notice the age of the OP :oops:
I was adding these for the OP and not you - I'll use a late night as my defense0 -
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions