Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29243 Discussions

User breakpoint called from code at 0x77f7645c

ferol
Beginner
1,792 Views
I use a fortran dll (Visual Fortran 6.6.a) with VisualBASIC (6.0) user interface.
When I try to debug my fortran codes, I get the message "user breakpoint called from code at 0x77f7645c".
I have no idea what this means.
I guess, it is related to my VisualBasic exe, because its name is in the "call stack" display.
Could anyone help me?
0 Kudos
8 Replies
Jugoslav_Dujic
Valued Contributor II
1,792 Views
Rehi. Did you read my reply in microsoft.public.fortran?
Here it is again for convenience:

This is a sign of an error in your code. That "breakpoint", or whatever it really is, is located in one of system dlls, called by Fortran run-time library, called by a line in your code. It usually emerges on
- I/O errors
- Allocation errors

You should have one of your routines in the "call stack" window when it emerges -- do you? I assume it will be a READ, WRITE, ALLOCATE, or something of the sort. If there isn't, could you paste the call stack? Even if there isn't anything meaningful in the call stack, you can decipher the addresses there using Debug/Modules... window -- it displays the list of loaded dlls and their address ranges.

Jugoslav
0 Kudos
hadi_l_
Beginner
1,792 Views

Hi Jugoslav,

I have the same problem. The written script doesn’t have any syntax problem and I can build the batch files but it stops on the line called ‘user breakpoint’ and a yellow marker pops up on a line as:

7C90120E   int         3

It stops debugging and it won’t go on. Can you please help me and tell me how can I remove it?

Regards,

Hadi

0 Kudos
Bernard
Valued Contributor I
1,792 Views

This is hardcoded breakpoint which has been hit.Usually debug build will have 0xcc-filled buffer in order to trigger breakpoint.In order to remove use hex editor or debugger and nop it.I think that this one of the kernel32.dll functions judging by the instruction address.

0 Kudos
Bernard
Valued Contributor I
1,792 Views

This is hardcoded breakpoint which has been hit.Usually debug build will have 0xcc-filled buffer in order to trigger breakpoint.In order to remove use hex editor or debugger and nop it.I think that this one of the kernel32.dll functions judging by the instruction address.

0 Kudos
Bernard
Valued Contributor I
1,792 Views

Sorry for double post:)

0 Kudos
jimdempseyatthecove
Honored Contributor III
1,792 Views

Do you have the source to your Fortran DLL?

Jim Dempsey

0 Kudos
Anonymous66
Valued Contributor I
1,792 Views

Do you get any other error message when you hit the breakpoint and do you have runtime checking turned on?

0 Kudos
Bernard
Valued Contributor I
1,792 Views

>>>7C90120E   int         3>>>

Can you resolve the intstruction address?To which dll does it belong

0 Kudos
Reply