MSFN Forum: Debug and Show Source - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Debug and Show Source Still useful? Rate Topic: -----

#1 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 31 July 2006 - 01:35 PM

Does anyone still use the Debug Mode or look at the source code with Show Source button? I feel they are fast becoming obsolete and should be removed. But if anyone still uses them, post here so I know and will leave them in.


#2 User is offline   Pliek 

  • Member
  • PipPip
  • Group: Members
  • Posts: 149
  • Joined: 07-February 06

Posted 01 August 2006 - 12:40 AM

What's the use off debug...it says software won't install that way, but it really does.
So where do you use it for ?? if someone can tell me , maybe I start using it then.
Leave it out I should say right now, or someone has a answer to the question above........
Thanks.

This post has been edited by Pliek: 01 August 2006 - 12:42 AM


#3 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,756
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 August 2006 - 03:45 AM

I have used show source once or twice and I have never used debug mode.

#4 User is offline   sadicq 

  • noob
  • PipPip
  • Group: Members
  • Posts: 273
  • Joined: 17-August 05

Posted 01 August 2006 - 04:00 AM

As I already told mritter in an email I sent him yesterday, "show source" is not a big help in the form it is now.
But if we add line numbers, a copy function and an "export to file" function, then it may be useful.
Anyway, I never used either of them, although I just wanted to try the "show source" last night to trace a bug.

#5 User is offline   Djé 

  • accent artist
  • PipPipPip
  • Group: Members
  • Posts: 359
  • Joined: 10-January 06

Posted 01 August 2006 - 07:03 AM

View Postsadicq, on Aug 1 2006, 11:00 AM, said:

As I already told mritter in an email I sent him yesterday, "show source" is not a big help in the form it is now.
But if we add line numbers, a copy function and an "export to file" function, then it may be useful.
Anyway, I never used either of them, although I just wanted to try the "show source" last night to trace a bug.

+1 :whistle:

And to be useful, debug should write to the log file, not only to the small space at the top of the screen.

Also, the position & whatfunc variables should be arrays that stores the function calls:
It should add a new element at the beginning of the function like it's done now, but also pop it out at the end of the function.
The error function will then be accurate by displaying the last elements of the arrays.

#6 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 01 August 2006 - 04:49 PM

I have been trying to think of a way to get the whatfunc variable to return to the previous calling function for some time now. The last call of every function could be to set it back, no problem. The problem that arises is that for every return call it would have to be set back there as well. Would add a lot of lines. The same would have to happen for position variable.

If there was a way to check/catch when leaving a function, by getting to the end or a return, then it would be easier.

#7 User is offline   mritter 

  • WPI Co-Developer
  • Group: Developers
  • Posts: 1,088
  • Joined: 13-November 05

Posted 01 August 2006 - 07:34 PM

Debug Mode is gone. Still waiting on a 2/3 vote :sneaky: for Show Source.

#8 User is offline   Dynaletik 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 633
  • Joined: 18-September 04
  • OS:none specified
  • Country: Country Flag

Posted 02 August 2006 - 04:47 AM

I never used "Show Source". So one more vote. :P

#9 User is offline   Shindo_Hikaru 

  • Honor, Courage, Commitment
  • PipPipPip
  • Group: Members
  • Posts: 441
  • Joined: 14-June 06

Posted 02 August 2006 - 05:41 AM

I use it to troubleshoot simple errors, nothing more.

#10 User is offline   zorphnog 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 427
  • Joined: 25-July 06

Posted 02 August 2006 - 07:52 AM

I like the show source code button. Very useful for viewing the runtime source. Keep it.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy