TKNs, Debug Info, and Modules
nicholasjames
Junior Member
I'm curious if anyone knows more about the mystery of the NetLinx debugger and debugging included modules.
I know the debugging info is held in the master TKN (doubling your compiled file's size is easy to notice) but I'm not sure how that works with modules. It doesn't seem to matter whether or not you compiled with debug info for the module since nothing in the TKOs change except their date & time stamp. The total size of the master TKN isn't affected either, so obviously the compiler doesn't consult the module's TKN for debug info.
Obviously it requires the source for the module to be part of the workspace when I start debugging, but there's clearly more to it since, without any clear rhyme or reason, sometimes the debugger will jump into the module source, sometimes not. I thought perhaps that meant the TKN for the module also needed to be part of the workspace, but I'm hoping one of you would have some good info before I start the myriad of trial and error.
I know the debugging info is held in the master TKN (doubling your compiled file's size is easy to notice) but I'm not sure how that works with modules. It doesn't seem to matter whether or not you compiled with debug info for the module since nothing in the TKOs change except their date & time stamp. The total size of the master TKN isn't affected either, so obviously the compiler doesn't consult the module's TKN for debug info.
Obviously it requires the source for the module to be part of the workspace when I start debugging, but there's clearly more to it since, without any clear rhyme or reason, sometimes the debugger will jump into the module source, sometimes not. I thought perhaps that meant the TKN for the module also needed to be part of the workspace, but I'm hoping one of you would have some good info before I start the myriad of trial and error.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums