How to debug (set breakpoint) in file which has no extension
-
@Vinoth-R said in How to debug (set breakpoint) in file which has no extension:
open source project named openIG
Could you share the link to the sources? The one I found looks to be in Java
-
Place a breakpoint in a file that calls code in the extensionless file. Follow using step functions (f11). See where it goes!
EDIT: f11 is for visual studio; I do not know the QtCreator shortcut.
-
@BjornW ... See the link below,
https://ufile.io/083bd
https://ufile.io/0e56fI am not able to debug inside AnimationPath File shown in the link.......
I am able to debug and set breakpoints only in files with .cpp extension..... This AnimationPath File has no extension...Its file type is mentioned as "File" itself....Check the link below .......
https://ufile.io/f57c4 -
@BjornW ... See the link below,
https://ufile.io/083bd
https://ufile.io/0e56fI am not able to debug inside AnimationPath File shown in the link.......
I am able to debug and set breakpoints only in files with .cpp extension..... This AnimationPath File has no extension...Its file type is mentioned as "File" itself....Check the link below .......
https://ufile.io/f57c4Try putting a breakpoint in the code calling .getMatrix(...). Then use step functions to go in. Will it hit? Are you sure the code is actually being called from outside? Who calls it and how?
AnimationPath myAnimationPath(...); myAnimationPath.getMatrix(...); //Put breakpoint here, step in. Does it work?
-
Try putting a breakpoint in the code calling .getMatrix(...). Then use step functions to go in. Will it hit? Are you sure the code is actually being called from outside? Who calls it and how?
AnimationPath myAnimationPath(...); myAnimationPath.getMatrix(...); //Put breakpoint here, step in. Does it work?
@BjornW ....getMatrix() is called from main.cpp
check the link for reference.....
https://ufile.io/97e2cbreakpoint hits in path->getMatrix() from main.cpp.... but when i try step Into that function, i am not able to get inside getMatrix(...) function body.........
-
Well that is strange. Make sure to use the proper step function (step into, not step over). Other than that I am at a loss. Sorry :-(