Troubleshooting issue with breakpoints in GWT SuperDevMode

When using IntelliJ, I encounter an issue where placing a breakpoint in a class sometimes leads me to the MyApp-0.js file in the debugger, resulting in debugging of generated Javascript. Is there a way to navigate with breakpoints in the corresponding Java file instead?

I am currently on IntelliJ version 13.1.2 and my GWT module is configured with super dev mode settings:

<add-linker name="xsiframe"/>
<set-configuration-property name="devModeRedirectEnabled" value="true"/>

Additionally, I am using the Jetbrains javascript debugging plugin with the latest version of Chrome.

To access sourcemaps from my code server manually, I visit the code server page at

http://localhost:9876/sourcemaps/MyApp/
, where I can view the source. It would be helpful to know how the configuration should be set up in IntelliJ for this functionality.

Answer №1

Have you determined which application server you are using? It may be necessary to indicate the code server port within the parameters of your chosen application server.

Answer №2

One key distinction between DevMode and Super DevMode lies in the execution environment of your code. In DevMode, the JVM runs your GWT module, allowing the IDE to debug it similar to a traditional Java application. However, in Super DevMode, Chrome is responsible for executing your GWT module which means that breakpoints set in Chrome Dev Tools are not recognized by the IDE. If you encounter issues with breakpoints in Chrome Dev Tools, it may be worth reporting this as a potential bug.

Answer №3

One possible solution is to go to File -> Invalidate Caches and Restart the application.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

What is the best way to utilize GSON for deserializing an array containing various objects

When handling JSON data, it often comes in a specific format like the example below: [ { "albums" : [ {"id":"0", "name":"name"}, {"id":"1", "name":"name"} ], "name":"name" }, { "tracks" : [ {"id":"0", "name":"name", ...

Creating a custom regex script in Javascript to properly parse Google Sheets data that contains commas

Currently, I am working with a JavaScript script that extracts data from a public Google Sheets feed in a JSON-CSV format that requires parsing. The rows are separated by commas, but the challenge lies in dealing with unescaped commas within each item. Fo ...

Generating varying commitments from one function

I have encountered an issue where I am returning a promise from a function that is part of a $q.all array. Initially, this setup works perfectly on page load. However, the challenge arises when I need to call this function multiple times afterward to updat ...

Is there a way to modify the CSS of the sequential number element when it is clicked on?

I've successfully utilized jQuery to create sequential numbering for my menu items. Upon clicking, the hyperlink text changes color to red. However, I'm facing an issue where I want the corresponding number to also change to red when the hyperli ...

Unit tests may not properly update the Angular Async pipe

Struggling with updating Observables using the async pipe in HTML during unit tests. I want to test not only the component itself but also ensure that child components are rendered correctly with the right Inputs. Here is a simple example where the issue ...

What tool can be used for formatting and syntax highlighting when working with ejs (embedded javascript) templates?

When working on my project, I utilize EJS as the express templating engine. While it is user-friendly and efficient, I have encountered difficulties when it comes to editing files - the text highlighting could be better, and I have not been able to find an ...

Discovering the method to extract a Specific Form Field value with JQuery

Recently, I encountered a form that looked like this: <form id="post_comment" action="cmt.php" method="post"> <input type="hidden" name="type" value="sub" /> <textarea id="body"></textarea> </form> To interact with the ...

Refreshing a webpage following an AJAX call

Whenever I make a post request to an API, I receive a response. However, even though the data is saved when I hit the API, I have to manually refresh my blade.php page to see the newly added data. Is there a way to automatically update my blade with the ...

At what point in time does the LoadingFrameComplete event in Awesomium typically happen?

According to the documentation from Awesomium, the event WebView.LoadingFrameComplete is triggered when a frame finishes loading. This description seems somewhat ambiguous. Does this event coincide with the JavaScript load event of the window? Or perhap ...

Sharing data between controllers using factory in AngularJS is not supported

I attempted to share data between two controllers by using a factory. However, it seems that the data is not being shared properly between the two inputs. In the AppCtrl controller, I set Data.FirstName to be equal to lattitude. But when I switch over to ...

Guide on executing a function upon clicking the ok button in an alert box in PHP and MySQL

function notify(message) { alert(message); handleAlert(); } function handleAlert() { alert('Alert has been triggered.'); } //I am looking for a way to trigger an update or insert action when the user clicks 'OK' on the alert ...

Bringing a module into Vue framework and transferring information

I'm currently working on a Nuxt project that includes a component. The component can be found in components/Boxes.vue: <template> <b-container> <b-row> <b-col v-for="box in boxes" v-bind:key="box"> < ...

What could be the reason for Jest throwing an error during the testing of the `Colyseus` game?

Currently, I am evaluating the functionality of a game using Jest as both a testing framework and assertion library. Below is my test configuration: const { Server } = require("colyseus") const { ColyseusTestServer, boot } = require("@colyse ...

A guide on integrating array map with a v-for loop in Vue

Struggling to understand how to implement a loop within another loop in Vue? This task might seem simple with React, but Vue presents its own challenges when it comes to using loops with arrays in templates/JSX. The input data follows a specific format fr ...

What is the most efficient method for importing external geometries into Three.js without causing any interference with the user interface?

At this moment, I am facing an issue with loading multiple .obj files (totaling 20MB) into Three.js. Although everything works fine once the files are loaded, the main problem lies in the fact that it takes approximately 25 seconds for Three.js to proces ...

Differences Between React Prop Types and Typescript in Front-End

I'm considering incorporating TypeScript into my project. Would this render the use of prop-types in React unnecessary? With prop-types, I find myself having to manually define types, but TypeScript would eliminate this step. Am I on the right track? ...

How to dynamically insert a hyperlink inside a <td> element within a table using JavaScript

What is the best way to create a hyperlink in a <td> within a dynamic table? I want the first <td> to be a link that combines a URL with the cell value. This is how the dynamic table is created: for (var i = 0; i < riskData.length; i++) { ...

The effectiveness of recursion in asynchronous function calls within AngularJS

My task involves creating a JSON output in tree structure from recursive async calls. The code I have developed for this purpose is detailed below: $scope.processTree = function (mData, callback) { _processTree.getWebCollection( ...

troubleshooting problems with AJAX calls and routing in Angular

I am a beginner with Angular and I recently completed a tutorial on Single Page Application development using templates imported from PHP files, along with Resource and Route modules. Below is the JavaScript code from my project: (function(){ var app ...

The script will not alter the color of a generated div element

section of code, there is a script called BGLinks that handles linking Bible verses to BibleGateway and creating preview popups when hovering over them. The issue at hand is with the css styling of the popup content within the div with the class "bg_popup ...