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 

Forcing a traceback

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit
View previous topic :: View next topic  
Author Message
wahorger



Joined: 13 Oct 2014
Posts: 1217
Location: Morrison, CO, USA

PostPosted: Fri Mar 01, 2024 3:12 pm    Post subject: Forcing a traceback Reply with quote

RE: SCC /64 routines: Is there a method by which an error can be communicated that then will result in a callback trace being performed?

The 64-bit compilation of this code (coordinate transforms) does not operate like the 32-bit. It might be that it was not written in a "safe" manner (re: pointers) and is not working. I need to identify the path withing the code to see what is perhaps not coded correctly, and having a method by which the traceback can be performed would be helpful.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Fri Mar 01, 2024 4:38 pm    Post subject: Reply with quote

If you insert the following line of code then a break point will be generated at that point...

Code:
  asm { int 3; }
Back to top
View user's profile Send private message AIM Address
wahorger



Joined: 13 Oct 2014
Posts: 1217
Location: Morrison, CO, USA

PostPosted: Fri Mar 01, 2024 6:24 pm    Post subject: Reply with quote

Awesome!!
Back to top
View user's profile Send private message Visit poster's website
wahorger



Joined: 13 Oct 2014
Posts: 1217
Location: Morrison, CO, USA

PostPosted: Fri Mar 01, 2024 7:06 pm    Post subject: Reply with quote

When I compile, I get:
Code:
   0089 asm {int 3; }
*** Error 79: 'asm' has not been declared
    1 ERRORS  [<PJ_PARAM> SCC/WIN32 Ver 4.61]
Back to top
View user's profile Send private message Visit poster's website
wahorger



Joined: 13 Oct 2014
Posts: 1217
Location: Morrison, CO, USA

PostPosted: Fri Mar 01, 2024 7:56 pm    Post subject: Reply with quote

Discovered the problem. I am using /ANSI_C as an option and it does not like this construct!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> 64-bit 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