LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using MAP File

How to use MAP file in Lab Windows?
I have selected "Generate MAP file" in the " Build-->Target Settings" options.
The MAP file also is created.
My application is crashing while running in Release mode.
How I can know where in the code it got crashed from the MAP file
0 Kudos
Message 1 of 2
(4,401 Views)
Hello,

I created a simple example project that defines the following functions:

main, MyFunc1, MyFunc2 and QuitCallback.


If you look through the map file generated you can find these lines:

00405040 main rtest.c
004050DA MyFunc1 rtest.c
00405185 MyFunc2 rtest.c
00405230 QuitCallback rtest.c
00406000 __adjust_fdiv adjfdiv.obj

Any crashes that occur at 00405040 or after, but before 004050DA will be caused inside the main function. Crashes at 004050DA up to 00405185 will be from MyFunc1 and so on.

Scott Y
NI
0 Kudos
Message 2 of 2
(4,375 Views)