tag:blogger.com,1999:blog-27659513.post3637882389287732404..comments2023-12-31T23:44:24.149+02:00Comments on FCIH: What happens behind the scene??!Ramy Mahroushttp://www.blogger.com/profile/06875204608099539248noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-27659513.post-8397315386322838572007-03-07T06:50:00.000+02:002007-03-07T06:50:00.000+02:00@Islam Ossama: you want see the whole stack in VS ...@Islam Ossama: you want see the whole stack in VS except if you disabled "Show only my code" from the debug options which is enabled by defaultMohamed Moshrifhttps://www.blogger.com/profile/04748476186265746697noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-56724873347105327842007-02-16T13:44:00.000+02:002007-02-16T13:44:00.000+02:00Here is the link in two partshttp://blogs.msdn.com...Here is the link in two parts<BR/><BR/>http://blogs.msdn.com/jmstall<BR/>/archive/2005/03/20/399287.aspxShereef Sakrhttps://www.blogger.com/profile/14485464016030085189noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-58187367962580453462007-02-16T13:17:00.000+02:002007-02-16T13:17:00.000+02:00@Shreef Thank you, for the link but it does not wo...@Shreef <BR/>Thank you, for the link but it does not work, google may cut it.Ramy Mahroushttps://www.blogger.com/profile/06875204608099539248noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-70235190148513920172007-02-16T13:13:00.000+02:002007-02-16T13:13:00.000+02:00@IslamForm1_Load is the last function called regar...@Islam<BR/>Form1_Load is the last function called regardless ShowMeWhatHappend<BR/>and the listbox displayed them as are.<BR/>So, you'll find Main the first, then Run, RunMessageLoop, etc....Ramy Mahroushttps://www.blogger.com/profile/06875204608099539248noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-18770022131503124032007-02-16T11:26:00.000+02:002007-02-16T11:26:00.000+02:00It's probably not showing all functions calls cuz ...It's probably not showing all functions calls cuz if u debug any VC++ program, it will show you some function calls which are not resolved to a name. It just displays the address.<BR/><BR/>btw StackTrace doesn't show CLR internal frames.<BR/><BR/>Also, the compiler may inline some function calls when not in debug mode.<BR/><BR/>http://blogs.msdn.com/jmstall/archive/2005/03/20/399287.aspx<BR/><BR/>But anyway StackTrace serves the purpose i don't think we need more.Shereef Sakrhttps://www.blogger.com/profile/14485464016030085189noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-12337632218197681812007-02-16T11:23:00.000+02:002007-02-16T11:23:00.000+02:00This comment has been removed by the author.Shereef Sakrhttps://www.blogger.com/profile/14485464016030085189noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-90712186305167529162007-02-16T07:27:00.000+02:002007-02-16T07:27:00.000+02:00You can also watch the stack trace from Visual Stu...You can also watch the stack trace from Visual Studio when you are debugging your program, it will show you the same as what is demonstrated here, and if you have a large program you can trace back and forth between function calls while watching who called which functions. This is all available through the stack trace window in Visual Studio, and almost every other debugger for any language would probably have a similar feature.<BR/><BR/>And yeah, I agree with Mohamed Meshref, 22 is too little, it's probably more than that, because some functions are called into and returned from before reaching the Form_Load function.Islam Ossamahttps://www.blogger.com/profile/16036343064844710842noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-17241791151767233382007-02-16T01:13:00.000+02:002007-02-16T01:13:00.000+02:00No, it works, you won't find a good documentation ...No, it works, you won't find a good documentation for it in MSDN, but if you want me to give you the sample I made, tell meRamy Mahroushttps://www.blogger.com/profile/06875204608099539248noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-83202578685421173902007-02-16T00:36:00.000+02:002007-02-16T00:36:00.000+02:00I think it may be more than this, I am not sure wh...I think it may be more than this, I am not sure whether the StackTrace class is showing the transitions between managed/unmanaged calls, but from what I see it's not, so there may be a few more calls, I may check this when I get some time :)Mohamed Moshrifhttps://www.blogger.com/profile/04748476186265746697noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-89152399073858503992007-02-15T23:39:00.000+02:002007-02-15T23:39:00.000+02:00welcome, Gamal, hope it added something new to you...welcome, Gamal, hope it added something new to youRamy Mahroushttps://www.blogger.com/profile/06875204608099539248noreply@blogger.comtag:blogger.com,1999:blog-27659513.post-74153131980491944642007-02-15T21:37:00.000+02:002007-02-15T21:37:00.000+02:00Great .. Great , thanks RomioGreat .. Great , thanks RomioMohamed Gamal El-Dinhttps://www.blogger.com/profile/09385298097882580455noreply@blogger.com