digitalmars.D - How to: Use debuggers?
- Alok Govil <Alok_member pathlink.com> Nov 24 2004
- "Lynn Allan" <l_d_allan adelphia.net> Nov 24 2004
Are there some debuggers that can be used for D. Is there some documented way on how to use those. Warm regards - Alok Govil alokgovil domain.com, where domain is hotmail.
Nov 24 2004
"Alok Govil" <Alok_member pathlink.com> wrote in message news:co32kt$3q5$1 digitaldaemon.com...Are there some debuggers that can be used for D. Is there some
on how to use those. Warm regards - Alok Govil alokgovil domain.com, where domain is hotmail.
Here are some links for using the Microsoft Visual Studio debugger in a Windows development environment: http://www.digitalmars.com/d/archives/digitalmars/D/1608.html http://www.digitalmars.com/d/archives/digitalmars/D/5568.html From inside the ide, click on the "Locals" tab to see local variables. As of about dmd ver 0.104 or so, you can "see" primitives inside inside objects. There are a few workarounds to see the value of a char[]: # char[] myVar = "Local Variable"; // Visible indirectly # // len is (int)myVar # // char is (char*)((int)(myVar >>32)) # char* p = "Pointer"; // Visible to debugger # debug char* _dbgMyVar = myVar; // Visible to debugger
Nov 24 2004








"Lynn Allan" <l_d_allan adelphia.net>