Hi,
I would like to use a debug tool with jogl, I gave a try with CodeXl, the successor of gDebugger, but I couldnt catch any function or keep any var under watch, anyway, it is still interesting because I could catch some glContext creations I think the most important calls are the creation of 5 glContexts (why?) and at the end there seems to be some problems with the render context What do you think? Ps: Has anyone tried with success another gl tool? Thread Created: 1204 DLL Loaded: C:\Windows\System32\ntdll.dll DLL Loaded: C:\Windows\System32\kernel32.dll DLL Loaded: C:\Windows\System32\KernelBase.dll DLL Loaded: C:\Windows\System32\advapi32.dll DLL Loaded: C:\Windows\System32\msvcrt.dll DLL Loaded: C:\Windows\System32\sechost.dll DLL Loaded: C:\Windows\System32\rpcrt4.dll DLL Loaded: C:\Windows\System32\user32.dll DLL Loaded: C:\Windows\System32\gdi32.dll DLL Loaded: C:\Windows\System32\lpk.dll DLL Loaded: C:\Windows\System32\usp10.dll DLL Loaded: C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll DLL Loaded: C:\Windows\System32\shlwapi.dll DLL Loaded: C:\Windows\System32\imm32.dll DLL Loaded: C:\Windows\System32\msctf.dll DLL Loaded: C:\Windows\System32\guard64.dll DLL Loaded: C:\Windows\System32\ole32.dll DLL Loaded: C:\Windows\System32\psapi.dll DLL Loaded: C:\Windows\System32\version.dll DLL Loaded: C:\Windows\System32\fltLib.dll Process Run Started Thread Created: 5100 Thread Terminated: 5100 DLL Loaded: C:\Program Files\Java\jre1.8.0_45\bin\msvcr100.dll DLL Loaded: C:\Program Files\Java\jre1.8.0_45\bin\server\jvm.dll DLL Loaded: C:\Windows\System32\wsock32.dll DLL Loaded: C:\Windows\System32\ws2_32.dll DLL Loaded: C:\Windows\System32\nsi.dll DLL Loaded: C:\Windows\System32\winmm.dll Thread Created: 6688 DLL Loaded: C:\Program Files\Java\jre1.8.0_45\bin\verify.dll DLL Loaded: C:\Program Files\Java\jre1.8.0_45\bin\java.dll DLL Loaded: C:\Program Files\Java\jre1.8.0_45\bin\zip.dll Thread Created: 4584 Thread Created: 5088 Thread Created: 5596 Thread Created: 2856 Thread Created: 3192 Thread Created: 6380 Thread Created: 6964 Thread Created: 4664 Thread Created: 4892 Thread Created: 6924 Thread Created: 6956 DLL Loaded: C:\Windows\System32\shell32.dll DLL Loaded: C:\Windows\System32\profapi.dll Thread Created: 1688 Thread Created: 4400 Thread Created: 7112 Thread Created: 5912 Thread Created: 6244 Thread Created: 5244 Thread Created: 4948 Thread Created: 6056 DLL Loaded: C:\Windows\System32\cryptsp.dll DLL Loaded: C:\Windows\System32\rsaenh.dll DLL Loaded: C:\Windows\System32\userenv.dll DLL Loaded: C:\Windows\System32\cryptbase.dll DLL Loaded: C:\Program Files\Java\jre1.8.0_45\bin\net.dll DLL Loaded: C:\Windows\System32\mswsock.dll DLL Loaded: C:\Windows\System32\wship6.dll DLL Loaded: C:\Windows\System32\IPHLPAPI.DLL DLL Loaded: C:\Windows\System32\winnsi.dll DLL Loaded: C:\Windows\System32\dhcpcsvc6.dll Thread Created: 4912 DLL Loaded: C:\Windows\System32\dhcpcsvc.dll DLL Loaded: C:\Program Files\Java\jre1.8.0_45\bin\nio.dll DLL Loaded: C:\Windows\System32\apphelp.dll DLL Loaded: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_exe_tst8378511393487439551.exe DLL Unloaded: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_exe_tst8378511393487439551.exe DLL Loaded: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_0000\jogamp_exe_tst8866481329397521230.exe DLL Unloaded: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_0000\jogamp_exe_tst8866481329397521230.exe Thread Created: 2748 Thread Terminated: 2748 DLL Loaded: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_0000\file_cache\jln6063808486930226280\jln8215940283818947689\gluegen-rt.dll DLL Loaded: C:\Program Files\Java\jre1.8.0_45\bin\awt.dll DLL Loaded: C:\Windows\System32\oleaut32.dll Thread Created: 4784 Thread Created: 1868 Thread Created: 4924 DLL Loaded: C:\Windows\System32\uxtheme.dll DLL Loaded: C:\Windows\System32\dwmapi.dll DLL Loaded: C:\Program Files\Java\jre1.8.0_45\bin\jawt.dll DLL Loaded: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_0000\file_cache\jln6063808486930226280\jln8215940283818947689\nativewindow_awt.dll DLL Loaded: C:\Windows\System32\d3d9.dll DLL Loaded: C:\Windows\System32\d3d8thk.dll DLL Loaded: C:\Windows\System32\nvd3dumx.dll Thread Created: 6320 Thread Terminated: 6320 DLL Loaded: C:\Windows\System32\powrprof.dll DLL Loaded: C:\Windows\System32\setupapi.dll DLL Loaded: C:\Windows\System32\cfgmgr32.dll DLL Loaded: C:\Windows\System32\devobj.dll Thread Created: 5980 Thread Created: 5284 Thread Created: 1212 DLL Loaded: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_0000\file_cache\jln6063808486930226280\jln8215940283818947689\nativewindow_win32.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\spies64\opengl32.dll DLL Loaded: C:\Windows\System32\ddraw.dll DLL Loaded: C:\Windows\System32\dciman32.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\AMDTServerUtilities-x64.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\AMDTBaseTools-x64.dll DLL Loaded: C:\Windows\System32\msvcp120.dll DLL Loaded: C:\Windows\System32\msvcr120.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\AMDTOSWrappers-x64.dll DLL Loaded: C:\Windows\System32\dbghelp.dll DLL Loaded: C:\Windows\System32\propsys.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\AMDTApiClasses-x64.dll API Connection Established: CodeXL Servers Manager Thread Created: 1996 DLL Loaded: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_0000\file_cache\jln6063808486930226280\jln8215940283818947689\jogl_desktop.dll DLL Loaded: C:\Windows\System32\opengl32.dll DLL Loaded: C:\Windows\System32\glu32.dll API Connection Established: CodeXL OpenGL Server Debug String: CodeXL OpenGL Server was initialized Thread Created: 6556 DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libGLESv2.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libGLESv2.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libGLESv2.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libGLESv2.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libGLESv2.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libGLESv2.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libGLESv2.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Unloaded: C:\Program Files (x86)\AMD\CodeXL\libEGL.dll DLL Loaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Unloaded: C:\Program Files (x86)\Mozilla Firefox\libEGL.dll DLL Loaded: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_0000\file_cache\jln6063808486930226280\jln8215940283818947689\jogl_mobile.dll Thread Created: 6504 DLL Loaded: C:\Windows\System32\nvoglv64.dll DLL Loaded: C:\Windows\System32\wtsapi32.dll Thread Created: 4480 DLL Loaded: C:\Windows\System32\wintrust.dll DLL Loaded: C:\Windows\System32\crypt32.dll DLL Loaded: C:\Windows\System32\msasn1.dll DLL Loaded: C:\Windows\System32\ntmarta.dll DLL Loaded: C:\Windows\System32\Wldap32.dll Thread Terminated: 4480 Thread Created: 4884 Thread Created: 380 Thread Terminated: 380 DLL Loaded: C:\Windows\System32\winsta.dll Thread Created: 6672 OpenGL Render Context 1 Created Debug String: CodeXL warning: The debugged process asked for an extension function pointer (wglCreateContextAttribsARB) from one render context, but called this function pointer in another render context (context #0) OpenGL Render Context 2 Created Checking for memory leaks - Context 2 deleted No memory leaks were found OpenGL Render Context 2 Deleted OpenGL Render Context 3 Created Checking for memory leaks - Context 3 deleted No memory leaks were found OpenGL Render Context 3 Deleted OpenGL Render Context 4 Created Checking for memory leaks - Context 1 deleted No memory leaks were found OpenGL Render Context 1 Deleted DLL Loaded: C:\Users\gbarbieri\AppData\Local\Temp\jogamp_0000\file_cache\jln6063808486930226280\jln8215940283818947689\newt.dll DLL Loaded: C:\Windows\System32\mscms.dll DLL Loaded: C:\Windows\System32\icm32.dll DLL Loaded: C:\Windows\System32\KBDUS.DLL DLL Unloaded: C:\Windows\System32\KBDUS.DLL Thread Created: 3280 DLL Loaded: C:\Program Files\Java\jre1.8.0_45\bin\fontmanager.dll Debug String: CodeXL warning: The debugged process asked for an extension function pointer (wglGetPixelFormatAttribivARB) from one render context, but called this function pointer in another render context (context #0) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (wglChoosePixelFormatARB) from one render context, but called this function pointer in another render context (context #0) OpenGL Render Context 5 Created Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glCreateShader) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glShaderSource) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glCompileShader) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glGetShaderiv) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glCreateProgram) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glAttachShader) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glLinkProgram) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glGetProgramiv) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glValidateProgram) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glDetachShader) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glDeleteShader) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glGetAttribLocation) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glBindBuffer) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glGetBufferParameterui64vNV) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glGetBufferParameteriv) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glMakeBufferResidentNV) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glGenVertexArrays) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glBindVertexArray) from one render context, but called this function pointer in another render context (context #5) Thread Created: 4764 Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glUseProgram) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glGetUniformLocation) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glUniform1i) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glBindBufferBase) from one render context, but called this function pointer in another render context (context #5) Debug String: CodeXL warning: The debugged process asked for an extension function pointer (glVertexAttribI2i) from one render context, but called this function pointer in another render context (context #5) Thread Created: 6464 Thread Created: 5168 Thread Created: 6788 Thread Terminated: 6672 Thread Terminated: 6788 |
Joking ^^
It doesnt work properly but I still can see the list of calls and get some watches! |
In reply to this post by elect
Cool, I can see even the content (and data) of the depth, back and front buffer from glContext 5
I can see the same of glContest 4 but much smaller, what's the point having the 4? Unfortunately it doesnt even list the (bindless) textures, debugging the C version it listes and shows them perfectly. It lists instead the VBOs, but they are unavailable, instead with the C example there was no problem. Would it be possible to overcome this problems? |
Administrator
|
Hi
I expected JOGL from creating at least 2 OpenGL contexts but please look carefully. 3 contexts are marked "deleted". There is nothing wrong to me.
Julien Gouesse | Personal blog | Website
|
Free forum by Nabble | Edit this page |