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.
0
Comments
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,
Angelo
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,
Tarun
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Appreciated it.
Hed.
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
.. 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
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
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" message
(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?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
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 defense
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog