replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - What is: StackOverflowException was unhandled
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is: StackOverflowException was unhandled

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
khoshravan



Joined: 03 Dec 2012
Posts: 31

PostPosted: Tue Dec 11, 2012 10:01 am    Post subject: What is: StackOverflowException was unhandled Reply with quote

I got following error message during debugging my code:

StackOverflowException was unhandled
An unhandled exception of type 'System.StackOverflowException' occurred in ***.exe
TroubleShooting tips:
Make sure you do not have an infinite loop or infinite recursion.
Get general help for this exception.

In my code, it refers to:
IMPLICIT Real*8(A-H,O-Z)

What is wrong with this command?
I think I have to convert it to FTN95 equivalent.

Any help is highly appreciated

BR
Khoshravan
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Tue Dec 11, 2012 3:16 pm    Post subject: Reply with quote

Try using the /CHECKMATE command line option for FTN95 and use the debugger to locate the problem.
Back to top
View user's profile Send private message AIM Address
khoshravan



Joined: 03 Dec 2012
Posts: 31

PostPosted: Tue Dec 11, 2012 4:40 pm    Post subject: Re: Reply with quote

PaulLaidler wrote:
Try using the /CHECKMATE command line option for FTN95 and use the debugger to locate the problem.


Thanks. Let me do and tell here what happened.
Back to top
View user's profile Send private message
khoshravan



Joined: 03 Dec 2012
Posts: 31

PostPosted: Wed Dec 12, 2012 5:07 am    Post subject: Re: Reply with quote

PaulLaidler wrote:
Try using the /CHECKMATE command line option for FTN95 and use the debugger to locate the problem.


Where shall I put this option?
I RUN the program through build command and I don't know where should I put this option?
Sorry if it sounds to novice. I am not familiar with FTN95 environment.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Wed Dec 12, 2012 9:28 am    Post subject: Reply with quote

If you are using Plato or Visual Studio then select "Checkmate Win32" on the toolbar.

If you are running from a command line then type...

FTN95 filename.for /checkmate /link
Back to top
View user's profile Send private message AIM Address
khoshravan



Joined: 03 Dec 2012
Posts: 31

PostPosted: Wed Dec 12, 2012 10:27 am    Post subject: Re: Reply with quote

PaulLaidler wrote:
If you are using Plato or Visual Studio then select "Checkmate Win32" on the toolbar.

If you are running from a command line then type...

FTN95 filename.for /checkmate /link


I am running SilverFRost FTN95 Express. I haven't downloaded/installed Plato, as I think above FORTRAN comes with VS and it is enough.

I couldn't find an icon or command inside toolbar for Checkmate Win 32. However I went to Property Pages and selected Debugging in left pane and changed the Debug Features, Debug Levels and Debug Misc there.
I suppose it will be enough to for debugging and I should find out the problem.
After debugging still it says the same message and doesn't give further info to trace out the error.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Wed Dec 12, 2012 3:09 pm    Post subject: Reply with quote

You should be able to see combo boxes (drop-down lists) on the toolbar that have tooltips "Solution Configurations" one of the items should be Checkmate and "Solution Platforms" one of which should be Win32.

If you cannot see these then you should still be able to select "Checking code" and "Check for undefined variabless" from the project properties.

After that you need to step into the code using the debugger and then run to a point just before the error. Examine everything at this point from within the debugging process.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group